-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not get RCON to connect to server #9
Comments
Rather than https://raw.githubusercontent.com/itzg/docker-rcon-web-admin/master/docker-compose.yml however, a quick solution if you just want to run commands is exec'ing into the minecraft container such as docker exec mc2survival rcon-cli op PLAYER_NAME where I'm guessing If you want to docker run -d --name rcon-web -p 4326:4326 -p 4327:4327 -e RWA_PASSWORD=guipassword -e RWA_RCON_PASSWORD=minecraft -e RWA_RCON_PORT=25576 -e RWA_RCON_HOST=127.0.0.1 -e RWA_SERVER_NAME=mc2survival --network container:mc2survival itzg/rcon |
Thanks for your reply. Really appreciated. On trying: When adding the network option I receive error: Thanks for your time. |
Hmm, that's not the host nor class of IP address I expected there. How did you start your mc2survival container? If you don't have that handy, then output of Basically, this is how I typically do it https://github.com/itzg/docker-minecraft-server#interacting-with-the-server but something is different than I expect about your container. |
Thanks again. I originally setup the container like so: Here is the result of docker inspect: [ |
Actually, it looks like you must have included |
I changed RCON_HOST to localhost and now I can RCON in. Thank you so much |
I'm new to docker and have managed to install a Creative and Survival server. I'm trying to RCON the Survival server, but connection is always refused.
I have enabled RCON in the server.properties file using port 25566 with rcon.port=25576
and RCON is starting successfully.
I am attempting to run this command from terminal to setup rcon-web:
docker run -d --name rcon-web -p 4326:4326 -p 4327:4327 -e RWA_PASSWORD=guipassword -e RWA_RCON_PASSWORD=minecraft -e RWA_RCON_PORT=25576 -e RWA_RCON_HOST=127.0.0.1 -e RWA_SERVER_NAME=mc2survival itzg/rcon
When checking the logs in portainer for rcon-web, I see:
2021-03-18T15:18:54.475Z RconServer [127.0.0.1:25576]: Connection failed
and error in the GUI of:
The current selected server is not available anymore. Maybe gone offline?
Can anybody help with this, I've spent a day on it! My Daughter needs op'ing and I'm getting it in the neck :-)
Thanks
The text was updated successfully, but these errors were encountered: