Hello Factorian fellows!
As the subject says, I, as a client, can't connect to my headless server which is running on my VPS.
Better to put both server and client logs to help troubleshooting the problem.
Both server and client version is 2.0.32 and default port 34197 on UDP transmission is open on server firewall.
Server IP address been swapped with "X.X.X.X" in logs for security purpose.
Based on my experiments, I could easily join a server created by Factorio Zone hosting website with no headaches, so the trouble must be on server side! Something is blocking packets traffic on server, but I don't know what!
Any help is appreciated.
Server Logs: https://pastebin.com/aVyxg3dF
Client Logs: https://pastebin.com/ATqW11MH
Factorio headless server is not responding to clients trying to direct connect to the server by IP and port
Re: Factorio headless server is not responding to clients trying to direct connect to the server by IP and port
Probably it's the firewall on server side blocking the communication?
Try opening that port via SSH tunnel to the client.
Once the open tunnel is established, connect to localhost:34197 on the client.
Try opening that port via SSH tunnel to the client.
Once the open tunnel is established, connect to localhost:34197 on the client.
Re: Factorio headless server is not responding to clients trying to direct connect to the server by IP and port
Nothing's wrong with the firewall configuration as I have already set it up to default port on UDP transmission.
Re: Factorio headless server is not responding to clients trying to direct connect to the server by IP and port
Good to hear you are sure it's not the server's firewall.
Well then, what's the result of ssh tunelling?
Well then, what's the result of ssh tunelling?
Re: Factorio headless server is not responding to clients trying to direct connect to the server by IP and port
Agreeing with pioruns about trying another TCP listener like SSH. Also you might check ufw status or iptables -L -v -n
Not sure if you can get a client on the same subnet, but it would be helpful to see if local clients can connect.
Not sure if you can get a client on the same subnet, but it would be helpful to see if local clients can connect.