factoriotools / factorio-docker

Factorio headless server in a Docker container
https://hub.docker.com/r/factoriotools/factorio/
MIT License
1.08k stars 243 forks source link

Could not establish network communication with server #474

Open Fliptrack opened 1 year ago

Fliptrack commented 1 year ago

Server shows up in server browser but not in LAN. When attempting to connect using server browser I get the error:

Could not establish network communication with server

log.txt

Sceat commented 1 year ago

It seem to be an error of the latest headless builds as I have the same even without using docker. I could join my server through the public list but no one else

The solution was to

mjw210 commented 1 month ago

From my end, I'm able to join the server from my internal network, but not the external network. Setting the game to public will put it on the server list, but I cannot connect either by selecting the server or by joining by external IP.

When I have a version mismatch, I get the "version mismatch" error when attempting to join, so it seems like it's seeing the server and validating the version number, but when it goes to connect the connection is never established.

EDIT: Disregard here, to connect from the internal network I must use the internal IP. External IP won’t connect if I’m on my internal network, but is fine from an external network.