bin/x64/factorio --start-server saves/mpmap.zip --rcon-port 33197 --rcon-password dcxxxxxxxxc6
And the startup log says it started the RCON server:
Code: Select all
11.361 Info PosixUDPSocket.cpp:50: Opening socket at port 34197
11.361 Info Router.cpp:594: Router state -> Connected
11.361 Info Synchronizer.cpp:56: NetworkTick(0) initialized Synchronizer local peer(0) latency(6).
11.362 Hosting game at port 34197, peerID 0, session magic 1799
11.362 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock
11.918 Info HttpSharedState.cpp:108: Status code: 200
11.919 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (kiRMcwmVxeuyUNlQwiJBj8qlBnKtLScW) from the auth server.
11.919 Info MultiplayerManager.cpp:1000: networkTick(0) mapTick(6900673) changing state from(CreatingGame) to(InGame)
11.919 Info NetworkInputHandler.cpp:45: mapTick(6900673) networkTick(0) initialized NetworkInputHandler local peer(0).
11.920 Info RemoteCommandProcessor.cpp:94: Starting RCON interface at port 33197
Code: Select all
# netstat -tulpn | grep factorio
tcp 0 0 0.0.0.0:33197 0.0.0.0:* LISTEN 32206/factorio
udp 0 0 0.0.0.0:34197 0.0.0.0:* 32206/factorio
udp6 0 0 :::34197 :::* 32206/factorio
Code: Select all
conn, err := net.DialTimeout("tcp", address, 2*time.Second)
if err != nil {
return nil, err
}
connecting to rcon: dial tcp 127.0.0.1:33197: i/o timeout
Also that RCON isn't listening on the ipv6 localhost, which is definitely a bug.
* This is also happening on 0.14.7