Default ports by game
| Game | Game port | Query port |
|---|---|---|
| CS 1.6 | 27015 UDP | Same as the game port |
| CS2 | 27015 UDP | Same as the game port |
| FiveM | 30120 TCP + UDP | HTTP on the same port (/info.json) |
| Rust | 28015 UDP | Set with server.queryport (RCON: 28016) |
| TeamSpeak 3 | 9987 UDP (voice) | 10011 TCP (ServerQuery) |
| CS Source | 27015 UDP | Same as the game port |
| Team Fortress 2 | 27015 UDP | Same as the game port |
| Garry's Mod | 27015 UDP | Same as the game port |
As a player
- From a server list. Every server page on GTScope shows the address to copy, as
IP:port. - CS 1.6 and CS2: while connected, type
statusin the console. The server address is in the output. - Steam games: in the Steam server browser, right-click a server and choose View server info.
- FiveM: servers usually share a
cfx.re/join/…link; the code works just like an address. - TeamSpeak 3: the address is in your bookmarks, or in Connection info while you are connected.
As a server owner
- Your hosting panel shows the public IP and port of every server.
- CS 1.6 / CS2: the
+ipand-port(or+port) launch options, orstatusin the server console. - FiveM: the
endpoint_add_tcpandendpoint_add_udplines inserver.cfg. - Rust: the
+server.portand+server.queryportlaunch options. - TeamSpeak 3:
default_voice_portandquery_portints3server.ini.
Use the public IP, not a local one. Addresses that start with 192.168., 10. or 172.16–31. only work inside your own network, and server lists can't reach them.
Game port vs query port
The game port is where players connect. The query port is where trackers and server browsers ask for the status, map and players. In CS 1.6 and CS2 they are the same port. In Rust and TeamSpeak 3 they are different, and a closed query port is the most common reason a server shows as offline on trackers while people can still play. See how to check a game server status.