factoriotools / factorio-docker

Factorio headless server in a Docker container
https://hub.docker.com/r/factoriotools/factorio/
MIT License
1.06k stars 239 forks source link

Can't connect to RCON #73

Closed PKuebler closed 6 years ago

PKuebler commented 7 years ago

I activate the Port forwarding but i can't connect. the server not response at 27015.

+ set -e
+ SAVES=/factorio/saves
+ CONFIG=/factorio/config
+ mkdir -p /factorio/saves
+ mkdir -p /factorio/mods
+ mkdir -p /factorio/config
+ [ ! -f /factorio/config/rconpw ]
+ [ ! -f /factorio/config/server-settings.json ]
+ [ ! -f /factorio/config/map-gen-settings.json ]
+ [ ! -f /factorio/config/map-settings.json ]
+ find -L /factorio/saves -iname *.zip -mindepth 1 -print
+ grep -q .
+ cat /factorio/config/rconpw
+ exec /opt/factorio/bin/x64/factorio --port 34197 --start-server-load-latest --server-settings /factorio/config/server-settings.json --server-whitelist /factorio/config/server-whitelist.json --server-banlist /factorio/config/server-banlist.json --rcon-port 27015 --rcon-password 1234 --server-id /factorio/config/server-id.json
   0.000 2017-09-11 21:19:20; Factorio 0.15.34 (build 30875, linux64, headless)
   0.000 Operating system: Linux
   0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--port" "34197" "--start-server-load-latest" "--server-settings" "/factorio/config/server-settings.json" "--server-whitelist" "/factorio/config/server-whitelist.json" "--server-banlist" "/factorio/config/server-banlist.json" "--rcon-port" "27015" "--rcon-password" "1234" "--server-id" "/factorio/config/server-id.json"
   0.000 Read data path: /opt/factorio/data
   0.000 Write data path: /opt/factorio
   0.000 Binaries path: /opt/factorio/bin
   0.007 System info: [CPU: Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz, 4 cores, RAM: 12015MB]
   0.007 Running in headless mode
   0.010 Loading mod core 0.0.0 (data.lua)
   0.015 Loading mod base 0.15.34 (data.lua)
   0.104 Loading mod base 0.15.34 (data-updates.lua)
   0.136 Checksum for core: 1519575497
   0.136 Checksum of base: 1503927233
   0.235 Info PlayerData.cpp:58: Local player-data.json available, timestamp 1505164735
   0.235 Info PlayerData.cpp:65: Cloud player-data.json unavailable
   0.236 Custom inputs active: 0
   0.237 Factorio initialised
   0.237 Info ServerSynchronizer.cpp:28: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   0.237 Info ServerMultiplayerManager.cpp:671: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   0.237 Info ServerMultiplayerManager.cpp:671: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   0.237 Loading map /opt/factorio/saves/_autosave1.zip: 2983540 bytes.
   0.251 Loading Level.dat: 5443375 bytes.
   0.256 Info Scenario.cpp:135: Map version 0.15.34-0
   0.422 Info BlueprintLibrary.cpp:226: Loaded library shelves:
   0.422 Info BlueprintLibrary.cpp:794: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1504781435; records:
   0.422 Info BlueprintLibrary.cpp:796: Player shelf: playerIndex = 0, nextRecordID = 0; timestamp = 1505164238; records:
   0.435 Info BlueprintLibrary.cpp:49: Loaded external blueprint storage: playerIndex = 65535, nextRecordID = 0; timestamp = 1505164760; records:
   0.436 Loading script.dat: 190 bytes.
   0.437 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 282129324
   0.439 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
   0.439 Hosting game at 0.0.0.0:34197
   0.439 Info ServerMultiplayerManager.cpp:671: mapTick(81435) changing state from(CreatingGame) to(InGame)
   0.439 Info UDPSocket.cpp:39: Opening socket for broadcast
   0.460 Error InterruptibleStdioStream.cpp:53: Reading stdin failed
   0.460 Info RemoteCommandProcessor.cpp:122: Starting RCON interface at port 27015
dtandersen commented 6 years ago

abandoned?