Page 1 of 1

[0.13.1] Help setting up/connecting to headless win7 server

Posted: Thu Jun 30, 2016 5:39 pm
by Ivajl
I am trying to set up a game for some friends on my spare Windows 7 PC. I did it for 0.12, and it worked just fine.

Now i have updated to 0.13.1 and started a new game. The server starts, and it looks like it loads the savefile, but i can't connect to it, not even from the LAN side, it says "Couldn't establish network communication with the server"

Doesn't headless Windows server work anymore? Or is there some parameter that is missing in the config file or whatever?

This is how i start the server

Code: Select all

Factorio.exe --start-server "H:\Factorio - bobs\saves\0_13_1_bobs.zip"
This is the output from the server window:

Code: Select all

  11.319 Custom inputs active: 0
  11.319 Info Updater.cpp:751: Downloading https://www.factorio.com/updater/get-available-versions?username=*MY USERNAME*&token=<private>&apiVersion=2
  12.206 0 packages available to download (experimental updates enabled).
  12.208 Factorio initialised
  12.209 Info Router.cpp:563: Router peerID(65535) shutting down.
  12.210 Info Router.cpp:594: Router state -> Disconnected
  12.213 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
  12.214 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
  12.215 Loading map H:\Factorio - bobs\saves\0_13_1_bobs.zip
  12.348 Info Scenario.cpp:129: Map version 0.13.1-0
  12.533 Checksum for script H:/Factorio - bobs/temp/currently-playing/control.lua: 900459546
  12.536 Checksum for script __bobtechsave__/control.lua: 1098752798
  12.538 Checksum for script __clock__/control.lua: 2990318672
  12.551 Checksum for script __FARL__/control.lua: 168270991
  12.553 Checksum for script __WaterWell__/control.lua: 2161341148
  12.554 Checksum for script __bobores__/control.lua: 3583780511
  12.571 Checksum for script __rso-mod__/control.lua: 1101246806
  12.609 Info WindowsUDPSocket.cpp:59: Opening socket at port (34197)
  12.610 Info Router.cpp:594: Router state -> Connected
  12.611 Info Synchronizer.cpp:56: NetworkTick(0) initialized Synchronizer local peer(0) latency(6).
  12.613 Hosting game at port 34197, peerID 0, session magic 533
  12.615 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(4933) changing state from(CreatingGame) to(InGame)
  12.617 Info NetworkInputHandler.cpp:45: mapTick(4933) networkTick(0) initialized NetworkInputHandler local peer(0).
  12.737 Info MultiplayerManager.cpp:1527: Received peer info for peer(0) username(<server>).
  12.737 Info MultiplayerManager.cpp:1143: networkTick(6) mapTick(4933) received stateChanged peerID(0) oldState(Ready) newState(CreatingGame)
  12.740 Info MultiplayerManager.cpp:1143: networkTick(6) mapTick(4933) received stateChanged peerID(0) oldState(CreatingGame) newState(InGame)

Re: [0.13.1] Help setting up/connecting to headless win7 server

Posted: Thu Jun 30, 2016 7:07 pm
by Ivajl
Well yeah, now this is rather embarrassing :oops: .. when i switched my router earlier this week i did not notice windows decided it was a public network, so the firewall blocked Factorio. Changing the LAN to a home network fixed it.