Page 1 of 1

Hidden headless Server

Posted: Wed Feb 08, 2017 2:11 pm
by Sessa93
Hello to everybody!

i've currently installed the headless server 0.14.21 on my private ubuntu 16.04 machine. I'm now editing the visibility(in the json file) of the server to hidden, but when the server starts it says "invalid visibility". Why? Is it no more supported?

Thank you!

Re: Hidden headless Server

Posted: Wed Feb 08, 2017 2:13 pm
by posila
Hi, this is how visibility setting should be setup for hidden headless server

Code: Select all

  "visibility":
  {
    "public": false,
    "lan": false
  },

Re: Hidden headless Server

Posted: Wed Feb 08, 2017 2:15 pm
by Sessa93
Thank you! It works!

Re: Hidden headless Server

Posted: Wed Feb 08, 2017 2:24 pm
by Sessa93
Ok it works but i've some problems, the server starts but opens a socket over 0.0.0.0(port 34197) and so i cannot reach it from the outside!
Any idea?
0.509 Info Scenario.cpp:152: Map version 0.14.21-0
0.578 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 1057114497
0.579 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
0.579 Hosting game at 0.0.0.0:34197
0.579 Info ServerMultiplayerManager.cpp:658: mapTick(1) changing state from(CreatingGame) to(InGame)

Re: Hidden headless Server

Posted: Wed Feb 08, 2017 2:35 pm
by prg
0.0.0.0 simply stands for all available interfaces. If you can't connect to the server, this is not the reason.

Re: Hidden headless Server

Posted: Thu Feb 09, 2017 6:42 am
by cameroonjames
thanyou for your sharing bro

Re: Hidden headless Server

Posted: Mon Feb 13, 2017 9:56 pm
by BeowolfSchaefer
You probably just need to open up up the port on your firewall