Page 1 of 1

headless server does not open port

Posted: Mon Oct 10, 2022 7:38 pm
by shutakku
Everything is running but the port does not listen:

I started hosting a headless factorio server on a Vserver as a daemon via the this command as factorio user (also tried root):

Code: Select all

/opt/factorio/bin/x64/factorio --start-server /opt/factorio/saves/lan2.zip --server-settings /opt/factorio/data/server-settings.json
systemctl tells me factorio is actively running, but latest logs show me the following at the end.

Code: Select all

5.088 Error InterruptibleStdioStream.cpp:61: Got EOF on stdin; closing
A quick
px aux
reveals that the process is still running so I suppose that is not the issue.

I am using ufw as firewall and also make according entries with my provider. I am hosting several other services, so firewall stuff should also not be an issue.

HOWEVER:

Code: Select all

netstat -tlnp
does not show the port 34197 although the log file says
5.021 Hosting game at IP ADDR:({0.0.0.0:34197})
A quick portcheck confirms that nothing is listening on that port.

Anyone any ideas? :(