Internet connection super slow when using unreal engine

Hi there, for some reason when i’m using Unreal Engine I have massive internet connection issues.
to the point where 1GB of LAN cable network is going to 10MB, im learning Unreal engine with a tutor and when im sharing my screen everything becomes super laggy.

*It did worked when i updated the drivers but then again the lagging returned eventually

Here are some things I did while trying to fix it, but it didn’t work.
Updated Nvidia drivers to the latest edition
reinstalled Unreal engine up to 5.5.4
Unchecked on discord Open h264 coded
Checked video hardware acceleration
tried using other browsers and not just discord
closed all other applications but unreal where 50 percent of memory is available to use.
tried everything in this video as well




I Managed to solve it by doing the following

1 - block all firewall inbound & outbound access to
Unreal engine launcher
Unreal engine editor
Swarm agent
All of those can be found in the x86 program files by epic games folder

2: added those lines to the DefaultEngine.ini file can be seen more here
[Portal.BuildPatch]
ChunkDownloads=2
ChunkRetries=20
RetryTime=1

3: made sure to uncheck the option called “Network boost” in legion vantage app (if you have a legion pc at all)