Can't start server, host address already in use

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
General Pfyffer
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Jan 08, 2021 10:28 am
Contact:

Can't start server, host address already in use

Post by General Pfyffer »

Hello. I am trying to setup a Factorio headless server on Ubuntu 18. At this point, everything is installed and ready to go, bet when I try to start the server it tells me that "Host address ist already in use" even though there's no Factorio instance running on the server. I've tried changing the port in the config, but when starting the server it still tells me "opening socket at 0.0.0.0:34197". Does anybody have an idea how to fix this?

Code: Select all

0.107 Running in headless mode
   0.111 Loading mod core 0.0.0 (data.lua)
   0.221 Loading mod base 1.0.0 (data.lua)
   0.848 Loading mod base 1.0.0 (data-updates.lua)
   1.154 Checksum for core: 2630831588
   1.154 Checksum of base: 3509992273
   1.577 Prototype list checksum: 3301461508
   1.656 Info PlayerData.cpp:68: Local player-data.json available, timestamp 1611233029
   1.656 Info PlayerData.cpp:75: Cloud player-data.json unavailable
   1.756 Factorio initialised
   1.757 Info ServerSynchronizer.cpp:28: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   1.758 Info ServerMultiplayerManager.cpp:769: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
   1.758 Info ServerMultiplayerManager.cpp:769: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
   1.768 Loading map /opt/factorio/server/factorio/saves/MagicPotato.zip: 750490 bytes.
   1.819 Loading level.dat: 1211497 bytes.
   1.844 Info Scenario.cpp:187: Map version 1.0.0-0
   1.943 Loading script.dat: 416 bytes.
   1.958 Checksum for script /opt/factorio/server/factorio/temp/currently-playing/control.lua: 3931528263
   1.962 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
   1.962 Info UDPSocket.cpp:218: Closing socket
   1.962 Info UDPSocket.cpp:248: Socket closed
   1.963 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: Host address is already in use.
   1.963 Info ServerMultiplayerManager.cpp:769: updateTick(0) changing state from(CreatingGame) to(InitializationFailed)
   1.963 Info CommandLineMultiplayer.cpp:208: Exit point.
   1.969 Info ServerMultiplayerManager.cpp:112: Disconnecting multiplayer connection.
   1.969 Info ServerMultiplayerManager.cpp:769: updateTick(4294967295) changing state from(InitializationFailed) to(DisconnectingScheduled)
   2.000 Info ServerMultiplayerManager.cpp:136: Quitting multiplayer connection.
   2.000 Info ServerMultiplayerManager.cpp:769: updateTick(4294967295) changing state from(DisconnectingScheduled) to(Closed)
   2.097 Info UDPSocket.cpp:218: Closing socket
   2.098 Goodbye

Post Reply

Return to “Technical Help”