Number of discussions around the forum regarding the P2P networking nature of the game and wanted to give some basic support to other players.
(Network engineers, Server admins and general geeks can ignore [yesnod])
Quick basic Network 101:
How other games work:
Elite Dangerous is different:
How do Frontier get round this problem ?
How can check yourself if uPnP is working on your computer:
Sometimes the problem will be with your ISP router - it may just be too old or buggy
What if you can't fix uPnP ?
Should I use port forwarding ?
Final comment: Ideally I would like FD to do 2 things in the Elite Dangerous menus that I feel would massively help players & their own support staff:
Good luck
---
EDIT:
Added links to help with port forwarding
*I know you can see that you're connected to the server on the main screen but AFAIK that's using the P2S links to the Frontier servers.
(Network engineers, Server admins and general geeks can ignore [yesnod])
Quick basic Network 101:
In general:
- If you start the conversation from your computer to the internet (like browse to a web site; check email; etc) as you initiated the conversation your router (normally provided by your ISP) will allow the conversation to work. The reply from the internet - results of your browsing / your Inbox / etc. are allowed back to your PC as the ISP device knows you asked for it.
- If you didn't start the conversation though and receive some data by default your router will block it.
Your normal multi-player games, like Diablo 3 / BF / WoW etc use a P2S model (Peer to Server) - the games company uses centralised servers and hosts the game along with your character. You initiate the connection to the server and it replies back with the results. Everything just works ! Your actions in game are performed on the server itself - all you are doing is instructing the server what to do and it replies back with the results.
Note: This is why combat logging on these types of game can be stopped - the server hosts your character and if you combat log (suddenly disconnect from the game) they can hold your character in game for a period of time.
It uses some P2S links (login, mode selection, some character based transactions like buying / selling, etc) but in order to cut down on bandwidth, costs, and a whole host of other things Frontier decided to also use P2P (Peer to Peer) links. When you are about to meet another player in game you both need to set up a direct P2P connection to each other. Over this link you send information about what you're doing in space (moving, firing, etc) and generally it works quite well.
This is where the problem starts for many people:
Note: This is why combat logging in ED can't be stopped. Your PC hosts your character (with some server validation) and if you combat log (suddenly disconnect from the game) there isn't a server hosting you to continue presenting it to the other player. The P2P link drops and the other player has no information about you any more.
This is where the problem starts for many people:
- If you initiate the conversation to set up the P2P link to the other player there isn't a problem for you - outbound is always allowed
- If they initiate the link, then remember as you didn't initiate it your ISP router will block it by default.
Frontier can fix this in one of 2 ways, both available now in ED:
uPnP is supported by most ISP devices and technically it should work. It's a networking method of allowing unsolicited connections inbound from other players (IE you didn't start the P2P link but you told your router it was OK and it allows it to work) However, for it to work there are 2 things that have to be right : your ISP device & your PC. If one of them is wrong then uPnP won't work and you generally wont meet many people in ED if at all.
Remember though if you initiate the P2P link then technically even with a faulty uPnP setup it should work. You have no control over who initiates that link (AFAIK) which might explain why some people can see everyone and others only a subset (discounting bugs and things in ED
)
- They can use uPnP (default setting)
- They can use port forwarding
uPnP is supported by most ISP devices and technically it should work. It's a networking method of allowing unsolicited connections inbound from other players (IE you didn't start the P2P link but you told your router it was OK and it allows it to work) However, for it to work there are 2 things that have to be right : your ISP device & your PC. If one of them is wrong then uPnP won't work and you generally wont meet many people in ED if at all.
Remember though if you initiate the P2P link then technically even with a faulty uPnP setup it should work. You have no control over who initiates that link (AFAIK) which might explain why some people can see everyone and others only a subset (discounting bugs and things in ED
- Check this LINK - describes some settings on your computer (windows)
- A better option if you trust MajorGeeks (I do) is to download this software and run it - LINK - it does some tests and can enable services if they are disabled.
Sometimes the problem will be with your ISP router - it may just be too old or buggy
You can change to use port-forwarding:
In short - 3 changes:
In short - 3 changes:
- Alter a configuration file located in the ED folder to use ports and not the uPnP service (AppConfig.xml)
- Change your ISP router and enable port-forwarding
- If you are using one allow traffic in and out through that port on your PC through your personal firewall
In short - given the choice - yes.
Someone on Reddit linked to an outstanding website to help with this: www.portforward.com
There are plenty of other guides on the internet to help.
Bottom line - console users have to enable port forwarding to get online and my 12 year old nephew can do it (and that scares me .. kids today feel so comfortable around computers it makes me feel like a worn out cassette).
Read up around the subject to get some familiarity, ask questions in this thread (the community on the whole is friendly here) and you can do it too
- It's more secure - uPnP has some security issues
- It's more deterministic - You know exactly what is arriving at your PC and from where
- It's more reliable - uPnP has some problems. Port-forwarding is a tried and tested method.
Someone on Reddit linked to an outstanding website to help with this: www.portforward.com
- Background information about port forwarding - what is it ?
- More information - how to do it
- Have a specific router at home ? It might be listed here for instructions.
There are plenty of other guides on the internet to help.
Bottom line - console users have to enable port forwarding to get online and my 12 year old nephew can do it (and that scares me .. kids today feel so comfortable around computers it makes me feel like a worn out cassette).
Read up around the subject to get some familiarity, ask questions in this thread (the community on the whole is friendly here) and you can do it too
Final comment: Ideally I would like FD to do 2 things in the Elite Dangerous menus that I feel would massively help players & their own support staff:
- Enable a toggle to switch between uPnP and Port-Forwarding (to make it easier - the router is your responsibility though)
- Enable a test button to determine if your set up is actually working inbound by FD initiating a test P2P link*
Good luck
---
EDIT:
Added links to help with port forwarding
*I know you can see that you're connected to the server on the main screen but AFAIK that's using the P2S links to the Frontier servers.
Last edited: