Problem on setting up and connecting to headless server

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
schwaffen
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Mar 01, 2025 4:33 pm
Contact:

Problem on setting up and connecting to headless server

Post by schwaffen »

Hello there, Factorians!

I'm trying to setup a headless server Factorio on my VPS but clients cannot connect to my server and I don't know why!
I tested and successfully connected to factorio.zone server so the problem is not on client side.
Also, UFW is inactive on my VPS so the port 34197 on UDP transition should be open to outbound traffics.

Here is all the logs both on server and client side:

Private Server Logs: https://pastebin.com/Nh14FJAs

Client on Private Server Logs: https://pastebin.com/ys3y0Waz

Factorio Zone Server Logs: https://pastebin.com/NXmVnRk5

Client on Factorio Zone Logs: https://pastebin.com/QZeirdwv

From logs what I can conclude is that the client cannot even connect to my headless server
Note that server ip address is edited to 0.0.0.0 for VPS security purpose

Any help is appreciated!
adam_bise
Filter Inserter
Filter Inserter
Posts: 581
Joined: Fri Jun 08, 2018 10:42 pm
Contact:

Re: Problem on setting up and connecting to headless server

Post by adam_bise »

Try getting SSH up and running first. TCP issues are easier to troubleshoot.

But I bet it will be firewall / NAT issue.

Even though UFW is inactive, you still have to configure the network firewall or your hosting provider firewall slice.

The public IP address the clients using to connect, what interface is that address on? a NAT will need to be configured using that interface to NAT public IP to private IP on UDP 34197
Post Reply

Return to “Technical Help”