Skip to content

What is a query port and how to check yours

When a list says your server is offline but friends are playing on it, the culprit is almost always the query port. It is the door that status checkers knock on, and it is often a different door from the one players use.

6 steps

  1. Know what it does

    A query port answers a short question: who are you, what map is running and how many players are in. A game client never needs it to join. Lists, bots and monitoring tools need it to show live numbers.

  2. Find out which kind your game uses

    Minecraft answers a status ping on the game port itself, 25565 TCP. Source-engine games such as Counter-Strike and Garry's Mod answer A2S queries over UDP, normally on the game port (27015). Rust has its own server.queryport setting. Check the game's server docs, not a guess.

  3. Open the right protocol

    A query port is usually UDP, while the game may also use TCP. Open exactly what your game documents, in both the host firewall and the router. Opening TCP when you needed UDP looks identical from the outside: closed.

  4. Enable query in the server config

    Some games need it switched on. In Minecraft, enable-query=true in server.properties turns on the UDP query, while the normal status ping works without it. Restart after you change the file.

  5. Test it from outside your network

    Choose your game in the Server Ping Checker and enter the address and query port. You should get a response time, players and often the server name and map. A timeout means the port is closed or the game does not answer queries.

  6. Know when there is no query at all

    Some games, for example Factorio or Roblox experiences, expose no public query. Lists then cannot show live status, and the site marks them as not monitored instead of offline. That is not a fault on your side.

Never expose RCON to the internet while you are fixing query problems. It is a remote control for the server, and it belongs behind a firewall rule for your own address only.

Tools for this guide

Terms explained