Closed joeknock90 closed 7 years ago
I'll need more information on your setup in order to help. :)
Could you paste the docker run
command, along with your env file (or env vars)? Remember to censor/remove sensitive information first though.
Which OS/distro are you running on? Any software or hardware firewalls enabled?
Sure.
Distro is Fedora 25, docker version 1.12.6
Docker run command:
docker run --name rust -d --restart always -p 28015:28015 -p 28015:28015/udp -p 28016:28016 -p 8080:8080 -v /mnt/docker/rust:/steamcmd/rust --env-file /mnt/docker/rust/rust.env didstopia/rust-server
Env file:
RUST_SERVER_STARTUP_ARGUMENTS="-batchmode -load -logfile /dev/stdout + server.secure 1" RUST_SERVER_IDENTITY="Servername_SERVER" RUST_SERVER_SEED="47850" RUST_SERVER_NAME="Servername" RUST_RCON_PASSWORD="tottalynotthedefaultpassword" RUST_OXIDE_ENABLED="1" RUST_OXIDE_UPDATE_ON_BOOT="1"
I'm using firewalld and opened the ports (like all of the other containers I use) with
sudo firewall-cmd --add-port=[each port here]/[proto] --perm
then reloaded
sudo firewall-cmd --reload
Thanks for the help by the way
Ignore me. I am a moron. I have figured out the problem. I typo'd when creating port 8080 for the container.
Sorry!
Closing because I am a fat fingered big dummy.
No worries at all, glad to hear it's working, and also nice to hear it's working on Fedora. :)
Just created a server and I'm unable to connect on the RCON port. Request reaches the server and this shows in the logs: