RCON only available on localhost by default (can't connect to other containers)
Closed this issue · 3 comments
Since an rcon-host value is not provided, it defaults to 127.0.0.1 (localhost). This prevents the Proxy from connecting to other containers within the same docker network, such as a web admin, for RCON commands.
However, this issue can be easily resolved by adding the following entry to the rcon-velocity-config.toml template in itzg/docker-mc-proxy:
rcon-host = "0.0.0.0"
Alongside the rest of the template.
This change would make 0.0.0.0 the default when pulling the image.
In the meantime, I'll configure my RCON settings manually rather than relying on the current image until this issue is addressed.
Thanks for reporting this. If you could submit a PR to make that change to the template, then that would be great. Otherwise I can make that change.
Will submit the PR shortly, thanks itzg !