mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Merge pull request #428 from Hornwitser/fix-localhost-resolve
Fix error when localhost resolves to ::1
This commit is contained in:
1 file changed
+1
-1
@@ -690,7 +690,7 @@ class FactorioServer extends events.EventEmitter {
|
||||
}
|
||||
|
||||
let config = {
|
||||
host: "localhost",
|
||||
host: "127.0.0.1", // localhost may resolve to ::1 while Factorio listen to only IPv4 by default.
|
||||
port: this.rconPort,
|
||||
password: this.rconPassword,
|
||||
timeout: 200000, // 200s, should allow for commands up to 1250kB in length
|
||||
|
||||
Reference in new issue
Block a user