0.14.21 Server problem

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.
_RedTech
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Dec 03, 2016 2:18 am
Contact:

0.14.21 Server problem

Post by _RedTech »

I'm having trouble running my headless server after updating to 0.14.21. I can connect via localhost, but not with my IP. I thought it was my router, but when I downgraded back to .20 it worked fine. I have also tried using a different map, still broken. I don't know what to do.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: 0.14.21 Server problem

Post by daniel34 »

_RedTech wrote:I don't know what to do.
You should post your log file, if possible from both server and client.
_RedTech wrote:I can connect via localhost, but not with my IP.
What is your setup and why are you able to connect via localhost? If you're running the server on the same PC the client runs on then make sure they are using different ports.
quick links: log file | graphical issues | wiki
_RedTech
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Dec 03, 2016 2:18 am
Contact:

Re: 0.14.21 Server problem

Post by _RedTech »

daniel34 wrote:
_RedTech wrote:I don't know what to do.
You should post your log file, if possible from both server and client.
_RedTech wrote:I can connect via localhost, but not with my IP.
What is your setup and why are you able to connect via localhost? If you're running the server on the same PC the client runs on then make sure they are using different ports.
I attached the server and client log. On the client it first shows me connecting with my IP, doesn't work. Then I try to connect with localhost, and it does. Also, I did try to change the IP.
Attachments
factorio-current.log
Client Log
(5.44 KiB) Downloaded 82 times
factorio-previous.log
Server Log
(1.67 KiB) Downloaded 74 times
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: 0.14.21 Server problem

Post by daniel34 »

_RedTech wrote:On the client it first shows me connecting with my IP, doesn't work. Then I try to connect with localhost, and it does. Also, I did try to change the IP.
That's not a Factorio issue, it's a routing issue. When you try to conect to your external IP (76.187.x.x) from within your own network it doesn't work, because (this is a very simplified explanation) your router thinks it's an external address and is looking for it outside, while the server is actually inside on your PC. When running a server inside your own network you should use the local IP, not the internet IP.

Other people should be able to join the game at localhost:34198, or rather {YOUR_IP]:34198 (external view from a client) if it is public.

EDIT: This might actually work if your router has DMZ enabled and set to your PC, but I sincerely hope you didn't enable that function just to get Factorio running.
quick links: log file | graphical issues | wiki
_RedTech
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Dec 03, 2016 2:18 am
Contact:

Re: 0.14.21 Server problem

Post by _RedTech »

daniel34 wrote:
_RedTech wrote:On the client it first shows me connecting with my IP, doesn't work. Then I try to connect with localhost, and it does. Also, I did try to change the IP.
That's not a Factorio issue, it's a routing issue. When you try to conect to your external IP (76.187.x.x) from within your own network it doesn't work, because (this is a very simplified explanation) your router thinks it's an external address and is looking for it outside, while the server is actually inside on your PC. When running a server inside your own network you should use the local IP, not the internet IP.

Other people should be able to join the game at localhost:34198, or rather {YOUR_IP]:34198 (external view from a client) if it is public.

EDIT: This might actually work if your router has DMZ enabled and set to your PC, but I sincerely hope you didn't enable that function just to get Factorio running.
People cannot connect to it though, but it works fine on 0.14.20. I attached the logs when I try it on 0.14.20 (And this is a new log).
Attachments
client.log
Client
(4.99 KiB) Downloaded 78 times
server.log
Server
(3.93 KiB) Downloaded 75 times
Post Reply

Return to “Technical Help”