The Port Forwarding thread: Minimizing multiplayer connection issues

Hopefully you had the game running while you tested to see if the port was properly forwarded/
Also check the ingame network settings and make sure your ED install is set to use ports in the range you setup

Not at last, although this might be only semantics - you dont open the ports on the router - you forward those ports to the internal ip address of your gaming system (which preferably should use a static ip address or have a dhcp reservation) which should also have those ports open in the windows firewall (or whatever other firewall you may use - some current generation antiviruses are using their own firewall and/or network inspection features)
 
Hopefully you had the game running while you tested to see if the port was properly forwarded/
Also check the ingame network settings and make sure your ED install is set to use ports in the range you setup

Not at last, although this might be only semantics - you dont open the ports on the router - you forward those ports to the internal ip address of your gaming system (which preferably should use a static ip address or have a dhcp reservation) which should also have those ports open in the windows firewall (or whatever other firewall you may use - some current generation antiviruses are using their own firewall and/or network inspection features)

Yes i did all of that, i jumped on open play then exited and checked the network menu again (don't know if playing a while changes anything). Also yes, i opened the ports on the machine ip (not the whole router). And i also put windows firewall rules, but i also tried with the firewall off.
 
Question: Can anyone confirm the ED network settings to be working right now? I have the sneaking suspicion something might be broken. I tried to check/replicate @Jackz's issue (I noticed a bit more instancing and connection stability issues lately than in the past, where my PF setup was working brilliantly), here is what I did and what I found:

The setup, as it should be:
  • I have defnder rule to allow incoming traffic to EliteDangerous64.exe on all ports with all protocols - so very broad
  • I set ED to accept connections on port 5100, IPV6 is off, IPV4 is on
  • ED shows my router as port restricted, which is correct - UPnP doesn't work correctly for me. It shows correct local and remote addresses
  • My router forwards UDP and TCP from port 5100 on the WAN interface to port 5100 to my Desktop machine. PF on my router works reliably, I have a working linux server here in my study.

Now, I launched the game and logged into open, and on a remote linux machine, I tried to poke the ports on my desktop with netcat on the local IP - so this is without the additional layer of port forwarding. With Windows defender enabled, netcat times out. With Windows Defender disabled, the connection is refused.

I tried the same on my remote IP with the same result; now I realize this might be at the mercy of the loopback capabilities of my router, but it works for every other service I have listening on my network, just not ED.

I had netcat do a quick scan on the ports of my desktop machine with both Defender on an off, none of the ports in the 5100/5200 range are open when ED is running. Switching off Windows Defender definitely exposes the ports to the network, so this seems to work, too, and I also could not find any stray rules that might prohibit ED to connect. And that should not matter when I turn off Windows Defender. It does not with other applications (I did a quick check with the remote control port of Kodi).

There is always the possibility I missed something, but I think something is off.
 
Last edited:
Oh, I also enabled a netlog, whenever any of my IP adresses are mentioned in the netlog, it prints the correct ports. But from the outside of my Desktop machine, I can't even knock on those ports.
 
Oh, I also enabled a netlog, whenever any of my IP adresses are mentioned in the netlog, it prints the correct ports. But from the outside of my Desktop machine, I can't even knock on those ports.
How are you "knocking"? ED uses UDP so things like timeout errors shouldn't be possible (since there's no confirmation for received packets, only ICMP errors when the destination is unreachable). You need to run a sniffer like wireshark on the machine running the game to know what's going on.
 
I am running netcat on a remote linux machine. Pretty much the same thing those port checker services do, but not over the internet, and I am taking port forwarding out of the equation.
 
Last edited:
Well this is frustrating to debug. Today, after booting my desktop, everything I did in my post above to check the connectivity works. I don't know what is different, but I can successfully connect to the port opened by Elite both on the local IP and the remote/WAN IP of the router. Only thing that still does not work are those port scan utilities on the interwebs, they report my set port as closed. Maybe those only check TCP and not UDP. Anyway, probing both my local and remote IP with netcat -zvu, I get

Connection to xxx.xxx.xxx.xxx 5100 port [udp/*] succeeded!

which I did not yesterday.

I hate windows.
 
I have never bothered with port forwarding, but the connectivity issues in Elite and other games were instantly resolved by asking my internet provider to upgrade my connection from "DSlite" to "dual stack". The former seems to be the default and means sharing your public IPv4 with other customers while the latter will get you assigned an exclusive IPv4 address (in addition to the IPv6 one you always get). Depending on the service provider this may or may not be an option for anyone facing connectivity issues - unless an actual port forwarding is a hard requirement which it isn´t for Elite.
 
Last edited:
Oh, wait... we have diff ports for Steam client?
Captura de tela 2024-02-19 122059.png

Got this on portforward.com...
 
Oh, wait... we have diff ports for Steam client?
View attachment 384067
Got this on portforward.com...

Elite Dangerousr PS and XBox makes sense since they use the respective PS/XBox P2P networks which do use different ports.
For Steam - that's bullcrap - the Elite client on PC is using the same ports no matter if it's purchased on Frontier Store or Epic or Steam and you can find/customize the ports in the settings.
 
OK... I give up. I always assumed to have a nice understanding about network and configs. :unsure:
I asked to my ISP to disable CGNAT, and they done that without any drama... still got all ports closed, even port 80. But now everything works. Not a single glitch on almost a week, using IPV4. Nothing makes sense but works and I will not touch on anything now on! o_O
Connection powered by Grayskull powers! :LOL:
 
OK... I give up. I always assumed to have a nice understanding about network and configs. :unsure:
I asked to my ISP to disable CGNAT, and they done that without any drama... still got all ports closed, even port 80. But now everything works. Not a single glitch on almost a week, using IPV4. Nothing makes sense but works and I will not touch on anything now on! o_O
Connection powered by Grayskull powers! :LOL:
This is because of what port forwarding actually does and does not do, which is frequently misunderstood (you're not alone by a long shot).

Port forwarding simply tells the router to accept unexpected incoming connections and forward them to a specific device within the LAN - this allows a server inside your private network to be reached from outside of your private network. Normally, connections from the outside are dropped in order to keep your private network secure.
 
Top Bottom