Steam version game could not find my 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.
tayir149
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri May 06, 2016 11:39 am
Contact:

Steam version game could not find my headless server

Post by tayir149 »

Solved. It was my stupid brain after all.
I have set up a headless server on windows on another pc. When I tried to find my server in lobby, it doesnt show up. I downloaded zip version of the game from factorio.com and when I run this one, it can find my server and connects withouth any erros. Could someone help me why is that?
Last edited by tayir149 on Thu Aug 20, 2020 1:09 am, edited 1 time in total.
User avatar
bigmond
Inserter
Inserter
Posts: 28
Joined: Fri Aug 30, 2019 11:11 am
Contact:

Re: Steam version game could not find my headless server

Post by bigmond »

Do you have your username and password in teh server config, or do yo uhave your username AND token
Please no more spagetti, I cant eat any more.
tayir149
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri May 06, 2016 11:39 am
Contact:

Re: Steam version game could not find my headless server

Post by tayir149 »

bigmond wrote: Wed Aug 19, 2020 3:33 pm Do you have your username and password in teh server config, or do yo uhave your username AND token
Yes. I have. My friends can see it with steam game. Only myself can’t find it. Need to use zip version that downloaded from factorio can see it.
tayir149
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri May 06, 2016 11:39 am
Contact:

Re: Steam version game could not find my headless server

Post by tayir149 »

It’s same whether I use Windows server on my pc or remote Linux server
Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: Steam version game could not find my headless server

Post by Squelch »

It is an issue that comes from how NAT works in your router. What is happening is your actual game connection is coming from the same "translated" IP address as your server and is therefore ignored.

The workaround is to allow yourself to directly connect to your server on the internal LAN via its IP.

This is a common problem with a lot of games where you are able to self host a server, and isn't unique to Factorio.
tayir149
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri May 06, 2016 11:39 am
Contact:

Re: Steam version game could not find my headless server

Post by tayir149 »

Squelch wrote: Thu Aug 20, 2020 12:07 am It is an issue that comes from how NAT works in your router. What is happening is your actual game connection is coming from the same "translated" IP address as your server and is therefore ignored.

The workaround is to allow yourself to directly connect to your server on the internal LAN via its IP.

This is a common problem with a lot of games where you are able to self host a server, and isn't unique to Factorio.
I used rented a remote server and hosted the game that way. Still facing same issue. I don’t think it considers same ip now is it?
Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: Steam version game could not find my headless server

Post by Squelch »

tayir149 wrote: Thu Aug 20, 2020 12:15 am I used rented a remote server and hosted the game that way. Still facing same issue. I don’t think it considers same ip now is it?
Ah! that is a detail that I overlooked, so please excuse my assumption that you were serving locally.

Are you able to connect directly to your remote server? It won't necessarily fix the issue, but may help uncover why.

[Edit] Also, you could consult your server logs to see if the connection is even being negotiated from your instance, and possibly the reasons why it might be rejected.
tayir149
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri May 06, 2016 11:39 am
Contact:

Re: Steam version game could not find my headless server

Post by tayir149 »

Squelch wrote: Thu Aug 20, 2020 12:28 am
tayir149 wrote: Thu Aug 20, 2020 12:15 am I used rented a remote server and hosted the game that way. Still facing same issue. I don’t think it considers same ip now is it?
Ah! that is a detail that I overlooked, so please excuse my assumption that you were serving locally.

Are you able to connect directly to your remote server? It won't necessarily fix the issue, but may help uncover why.

[Edit] Also, you could consult your server logs to see if the connection is even being negotiated from your instance, and possibly the reasons why it might be rejected.
How stupid of me, I set to my search filter in lobby without password, that’s why I can’t find my server.
Thank you for your reply
Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: Steam version game could not find my headless server

Post by Squelch »

I'm glad you got it sorted. Enjoy your game.
Post Reply

Return to “Technical Help”