Hidden headless Server

Arrange meetings with other people to play MP, announce your servers.
Sessa93
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Feb 08, 2017 2:06 pm
Contact:

Hidden headless Server

Post 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!
posila
Factorio Staff
Factorio Staff
Posts: 5362
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Hidden headless Server

Post by posila »

Hi, this is how visibility setting should be setup for hidden headless server

Code: Select all

  "visibility":
  {
    "public": false,
    "lan": false
  },
Sessa93
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Feb 08, 2017 2:06 pm
Contact:

Re: Hidden headless Server

Post by Sessa93 »

Thank you! It works!
Sessa93
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Feb 08, 2017 2:06 pm
Contact:

Re: Hidden headless Server

Post 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)
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Hidden headless Server

Post 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.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
cameroonjames
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Feb 09, 2017 6:39 am
Contact:

Re: Hidden headless Server

Post by cameroonjames »

thanyou for your sharing bro
BeowolfSchaefer
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Mar 17, 2016 2:58 pm
Contact:

Re: Hidden headless Server

Post by BeowolfSchaefer »

You probably just need to open up up the port on your firewall
Post Reply

Return to “Multiplayer”