Game server not reachable: five steps to the fault
Updated: 02 October 2026 · Guide · Game server · Troubleshooting
The server is running, the console looks fine, and still nobody can get in. In almost every case it comes down to one of five places, and you can check them in this order in a few minutes. We didn't find the cases below in forums but on our own servers.
1. Is the process listening where you think it is?
sudo ss -tulpn | grep -i <process-name>
Each line of the output shows the protocol (udp/tcp), address and port on which the process is really waiting. If it shows a different port from the one you opened, no firewall rule will help. On our side a Barotrauma server ran on its default port 27015 from the day sales opened, while the assigned port stayed empty. The whole time it was reported as “running”. Since then our test run checks exactly this line against the assigned port.
2. Is it listening on all addresses?
If the port is preceded by 127.0.0.1 or [::1], the server only listens for connections from its own machine. It is then unreachable from outside, even with the firewall open. Correct is 0.0.0.0, * or the public address. Most games have a parameter for this (often -ip, -bind or an entry in the configuration file); for almost all of them, leaving it empty means: all addresses.
3. Is the port open in the firewall, and in the right protocol?
sudo ufw status numbered
Most games speak UDP. Exceptions we've hunted for ourselves: Terraria only speaks TCP, as does Minecraft Java. Satisfactory needs the game port over both UDP and TCP, because the management interface runs over TCP. If you only open one of the two, you have a half-reachable server. If the provider also has a firewall in the customer area, the port must be open there too.
4. Is the server running in a container?
Then there is one more layer: the port must listen inside the container and be published from the container to the outside. On our side an Arma 3 server in a container listened correctly on the game port and the neighbouring ports, but only the game port and RCON were published. Direct connection worked; server browser, BattlEye and voice chat didn't. Looking inside the container showed everything green; only looking at the published ports revealed the fault.
docker port <container>
5. Test from outside, not from the machine itself
nc -zv <server-ip> <port>
For TCP ports this is a reliable test, run from another computer. For UDP it's no use: UDP doesn't answer an empty greeting, so a test without a reply proves neither open nor closed. The most reliable check of a UDP port is the game itself, via a direct connection with address and port.
Special cases per game
Valheim needs the specified port and the one directly above it; if you only open one, the server won't show up reliably in the server browser. Arma 3 uses the game port and the four above it and calculates them itself. Euro Truck Simulator 2 and American Truck Simulator don't accept ports above 49000 and then silently fall back to random ports; the log says “Invalid dedicated server connection port value”. Barotrauma takes the port from the launch line over the one from serversettings.xml.
If all five places check out and it still doesn't work, it's usually the version: after a game update the server rejects clients with a different version, or mods don't match on both sides. But that will be in the server log, not in the network.
The default ports at a glance
Minecraft Java 25565/tcp Valheim 2456–2457/udp Palworld 8211/udp SCP: Secret Lab. 7777/udp Factorio 34197/udp Project Zomboid 16261–16262/udp Terraria (TShock) 7777/tcp Satisfactory 7777/udp+tcp, 8888/tcp Avorion 27000/udp+tcp, 27003/udp, 27020–27021/udp Barotrauma 27015–27016/udp ARK: Survival Evolved 7777–7778/udp, 27015/udp Arma 3 2302–2306/udp Hytale 5520/udp TeamSpeak 3 9987/udp, 30033/tcp
All values taken from the guides here in the wiki and checked on our servers. If you choose other ports, shift the ranges accordingly.
- Set up a firewall from scratchSSH key and ufw on your own VPS
- Self-hosting a Valheim serverPorts, password rules, mods
- Self-hosting an Arma 3 serverThe five ports and BattlEye
- Self-hosting ETS2 and ATS serversThe limit at port 49000
- Default ports for referencePer game with the developer's source
- Rent a game serverPorts are checked in advance on our servers
- Compare game server providersWhat matters, including where we fall short