server not listening / connecting?

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.
Post Reply
xal3xhx
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed May 28, 2014 8:09 pm
Contact:

server not listening / connecting?

Post by xal3xhx »

Sorry for the double post but its been a few days with no answers.. original post
it appears that the sever is not listening for connections? (not sure if this is normal for a factiorio server)
server is running headless on a Ubuntu machine with nothing blocking ports, ports are open on router and client pc is windows. both are on the same network

the server was installed manually as well as using pufferpanel.

when i run

Code: Select all

netstat -a | grep 34197

while the server is running gives me this output

Code: Select all

udp        0      0 *:34197                 *:*
udp6       0      0 [::]:34197              [::]:*

my server config is.

Code: Select all

{
  "name": "ServerName",
  "description": "Server",
  "tags": ["game", "tags"],

  "_comment_max_players": "Maximum number of players allowed, admins can join even a full server. 0 means unlimited.",
  "max_players": 8,

  "_comment_visibility": ["public: Game will be published on the official Factorio matching server",
                          "lan: Game will be broadcast on LAN"],
  "visibility":
  {
	"Hidden": false,
    "public": true,
    "lan": true
  },

  "_comment_credentials": "Your factorio.com login credentials. Required for games with visibility public",
  "username": "xal3xhx",
  "password": "",

  "_comment_token": "Authentication token. May be used instead of 'password' above.",
  "token": "XXXXXXXX",

  "game_password": "XXXXXXXX",

  "_comment_require_user_verification": "When set to true, the server will only allow clients that have a valid Factorio.com account",
  "require_user_verification": false,

  "_comment_max_upload_in_kilobytes_per_second" : "optional, default value is 0. 0 means unlimited.",
  "max_upload_in_kilobytes_per_second": 0,

  "_comment_minimum_latency_in_ticks": "optional one tick is 16ms in default speed, default value is 0. 0 means no minimum.",
  "minimum_latency_in_ticks": 0,

  "_comment_ignore_player_limit_for_returning_players": "Players that played on this map already can join even when the max player limit was reached.",
  "ignore_player_limit_for_returning_players": false,

  "_comment_allow_commands": "possible values are, true, false and admins-only",
  "allow_commands": "admins-only",

  "_comment_autosave_interval": "Autosave interval in minutes",
  "autosave_interval": 10,

  "_comment_autosave_slots": "server autosave slots, it is cycled through when the server autosaves.",
  "autosave_slots": 5,

  "_comment_afk_autokick_interval": "How many minutes until someone is kicked when doing nothing, 0 for never.",
  "afk_autokick_interval": 0,

  "_comment_auto_pause": "Whether should the server be paused when no players are present.",
  "auto_pause": true,

  "only_admins_can_pause_the_game": true,

  "_comment_autosave_only_on_server": "Whether autosaves should be saved only on server or also on all connected clients. Default is true.",
  "autosave_only_on_server": true,
  
  "_comment_non_blocking_saving": "Highly experimental feature, enable only at your own risk of losing your saves. On UNIX systems, server will fork itself to create an autosave. Autosaving on connected Windows clients will be disabled regardless of autosave_only_on_server option.",
  "non_blocking_saving": false,

  "_comment_admins": "List of case insensitive usernames, that will be promoted immediately",
  "admins": []
}
im using this command to start the server on headless

Code: Select all

./factorio/bin/x64/factorio --port 34197 --bind 0.0.0.0 --start-server saves/default.zip --server-settings factorio/data/server-settings.json
and here is the console output

Code: Select all

   2.021 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1518370972
   2.021 Info PlayerData.cpp:72: Cloud player-data.json unavailable
   2.227 Custom inputs active: 0
   2.253 Info Updater.cpp:750: Downloading https://updater.factorio.com/get-available-versions?username=xal3xhx&token=<private>&apiVersion=2
   2.956 Some core updates would be reachable if experimental updates were enabled.
   2.956 0 packages available to download (experimental updates disabled).
   2.975 Factorio initialised
   3.034 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   3.034 Info ServerMultiplayerManager.cpp:696: mapTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
   3.034 Info ServerMultiplayerManager.cpp:696: mapTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
   3.035 Loading map /var/lib/pufferd/servers/8d20e099-9d5b-4802-a835-e324c56f58fb/saves/default.zip: 846873 bytes.
   3.127 Loading Level.dat: 1101674 bytes.
   3.142 Info Scenario.cpp:135: Map version 0.16.22-1
   3.253 Loading script.dat: 175 bytes.
   3.282 Checksum for script /var/lib/pufferd/servers/8d20e099-9d5b-4802-a835-e324c56f58fb/factorio/temp/currently-playing/control.lua: 4025882306
   3.329 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
   3.329 Hosting game at 0.0.0.0:34197
   3.329 Info ServerMultiplayerManager.cpp:696: mapTick(0) changing state from(CreatingGame) to(InGame)
   3.359 Info ServerRouter.cpp:580: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
   3.870 Info ServerMultiplayerManager.cpp:625: Matching server connection resumed
ive been working on this trying everything i can think of for a week now and i haven't gotten anywhere

Post Reply

Return to “Technical Help”