Didstopia / rust-server

Provides a dedicated linux server for Rust (the game) running inside a Docker container.
MIT License
243 stars 105 forks source link

Server not showing inside History or Search Tab #116

Closed ItzBen2810 closed 1 year ago

ItzBen2810 commented 1 year ago

I created a Rust server with your docker container, but it doesn't show in the history or in the search tab. I have linked a YML file of docker-compose. Im sure that everything is set up correctly please don't hesitate to ask for more context. Looking forwarded for your response :)

OS: Ubuntu 22.04 Docker: 24.0.2

ItzBen2810 commented 1 year ago

UPDATE: It seems that the ports are open, but I can't ping them RUST_SERVER_PORT: 28015 and RUST_SERVER_QUERYPORT: 28016. I find this odd since I thought that 28015 is the port you connect over

PhoenixInDarkness commented 1 year ago

From what I can see, the query port and rcon are set to receive requests on port 28016. This is possible if one of them is listening on TCP and the other on UDP. Do you have both options open in your firewall?

I am currently experiencing a similar issue. My server is not showing up in the server history and is not being detected by gamemonitoring. I have decided to specify the following ports:

Game Port: 28015 Query Port: 28016 Rcon Port: 28017 Rust+ Port: 28082

Did you find a solution to the problem?

ItzBen2810 commented 1 year ago

From what I can see, the query port and rcon are set to receive requests on port 28016. This is possible if one of them is listening on TCP and the other on UDP. Do you have both options open in your firewall?

I am currently experiencing a similar issue. My server is not showing up in the server history and is not being detected by gamemonitoring. I have decided to specify the following ports:

Game Port: 28015 Query Port: 28016 Rcon Port: 28017 Rust+ Port: 28082

Did you find a solution to the problem?

Well for testing purposes I currently do not have a firewall enabled so there shouldn't be a problem with that

PhoenixInDarkness commented 1 year ago

Explicitly specifying different ports for Query and Rcon resolved my issue. My server is now being displayed everywhere. Game Port: 28015 Query Port: 28016 Rcon Port: 28017 Rust+ Port: 28082 image

ItzBen2810 commented 1 year ago

Explicitly specifying different ports for Query and Rcon resolved my issue. My server is now being displayed everywhere. Game Port: 28015 Query Port: 28016 Rcon Port: 28017 Rust+ Port: 28082 image

If you would have a look at the docker-compose file I have linked you will see Im literally have the same stuff as you. How will that help me fix my problem? I don't understand

PhoenixInDarkness commented 1 year ago

I'm sorry I didn't notice the file. My server appeared in the list after opening port 28016/udp try adding - 28016:28016/udp

My docker-compose file looks like this image

ItzBen2810 commented 1 year ago

I'm sorry I didn't notice the file. My server appeared in the list after opening port 28016/udp try adding - 28016:28016/udp

My docker-compose file looks like this image

Thanks I can now see it in history but not in browser tab why is that?

b33slayer commented 1 year ago

8080 tcp - web rcon port 28015 udp - game port 28016 tcp - rcon port 28017 udp - query port for server 28082 tcp - app port rust+

ItzBen2810 commented 1 year ago

8080 tcp - web rcon 28015 udp - game port 28016 tcp - rcon porn 28017 udp - query port for server 28082 tcp - app port rust+