Hey there,
The wiki states that you can use --bind-rcon <addr>:<port> to specify the address and port to use
However, it seems that the port part is completely ignored and it always uses 34865
same goes for --rcon-port, which exists in factorio symbols but seems to be ignored too
How does that work if I want to start multiple instances?
the --rcon-bind works on windows, but not on linux btw
Rcon not working as expected on Linux
Re: Rcon not working as expected on Linux
I cannot reproduce any issue. Passing and it works perfectly.
Code: Select all
--rcon-bind 127.0.0.1:9999 --rcon-password password
If you want to get ahold of me I'm almost always on Discord.
Re: Rcon not working as expected on Linux
Can you post a log file that shows it failing to use the correct port?
If you want to get ahold of me I'm almost always on Discord.
Re: Rcon not working as expected on Linux
I think I can confirm that it does in fact work. There seems to be a race condition in my code around reading the output logs, resulting in reading the old log. Sorry to bother you about this. Additionally, there was a lock on the log not cleaned up properly at some point, which caused the 34865 port to persist in my testing.
Re: Rcon not working as expected on Linux
Tangentially, it would be helpful if there was a way to specify the output log instead of relying on -current.log. There is no bug as it seems though. Sorry about this again.