Rust server ports: game, query, RCON and Rust+
A Rust server uses four ports: the game port (28015, UDP), the query port (UDP), the RCON port (TCP) and the Rust+ port (default 28082, TCP). Only the game port is needed to play, but the query port must be open for the server to show in the browser.
Every Rust server listens on four ports, and each one uses a specific protocol. Mixing up UDP and TCP, or forgetting the query port, is the usual reason a server is unreachable or missing from the list. This guide gives the defaults, the startup parameters that change them and what to open on your router and firewall (checked November 2026).
Quick answer
| Port | Parameter | Default | Protocol | Needed for |
|---|---|---|---|---|
| Game | +server.port | 28015 | UDP | Players connecting |
| Query | +server.queryport | one above the higher of game and RCON port | UDP | Server browser and server info |
| RCON | +rcon.port | set it yourself (examples use 28016) | TCP | Remote admin tools |
| Rust+ | +app.port | 28082 with default ports | TCP | The Rust+ companion app |
Only the game port is required to connect and play. Get it working first, then add the others.
The game port
server.port is where players connect. It defaults to 28015 and uses UDP. The Facepunch wiki’s local test is connect localhost:28015 from the in-game console. If players on your own network can join but friends outside cannot, the cause is port forwarding, not the server itself.
The query port
server.queryport is also UDP. Services use it to ask your server for its info, and the in-game server browser needs it, so a closed query port means your server will not appear in the list. It cannot be the same as the game port.
If you do not set it, the server picks one above whichever is higher, server.port or rcon.port. Wiki revisions have described this differently over time, and the behaviour changed with the 2 February 2023 update, so the safe move is to set it yourself and forward exactly that number.
+server.queryport 28017
The RCON port
rcon.port is the remote admin port and uses TCP. The wiki’s examples use 28016, but its parameter table says the default equals the game port, so do not rely on a default: set +rcon.port and +rcon.password explicitly. The wiki suggests +rcon.web 1 as the connection method. Anything that talks to your server remotely, such as the tools in the RCON commands guide or a dashboard like RustCommander, only needs this port and the password.
Do not forward RCON to the whole internet unless you need remote access, and always use a strong password.
The Rust+ port
The Rust+ companion server uses a TCP port. By default it is the game port plus 67, or the RCON port plus 67, whichever is higher. With the standard 28015 and 28016 that gives 28082.
- Use a port of 10000 or higher. Lower ports cannot be reached by the Rust+ backend and the connectivity test fails.
- Change it with the
app.portconvar and restart the server. - Run
app.infoin the server console to see the port and connection details in use. - If the app connects to the wrong address, set
app.publicip. To choose the network interface, setapp.listenipto the server’s public IP. - The server must be able to reach companion-rust.facepunch.com for registration and push notifications.
On startup the server runs a connectivity test. If it fails, Rust+ is disabled and the log shows a “connectivity test failed” message. The test is limited to 10 attempts per IP every 5 minutes, so do not restart in a loop while debugging.
Disabling Rust+
To turn the feature off, set the port to -1 on the command line. Because of parser conflicts, the wiki writes it as:
+app.port 1-
A full start line
This line assembles the parameters above. Each one is documented separately on the wiki; the combination is an example, so change the password.
RustDedicated.exe -batchmode +server.port 28015 +server.queryport 28017 +rcon.port 28016 +rcon.password your-strong-password +rcon.web 1 +app.port 28082
Port settings belong on the command line, while most other options go in server.cfg. The server.cfg guide explains the split, and the SteamCMD install guide covers the full start command.
Port forwarding checklist
You only need forwarding for players outside your own network. Hosted servers normally handle this for you.
- Give the server machine a static LAN IP so forwards do not break when DHCP changes it.
- Forward the game port as UDP.
- Forward the query port as UDP.
- Forward RCON and Rust+ as TCP, only if you use them.
- Pick the specific protocol for each rule. Do not choose “both” or “all”, because the ports need different protocols.
- Open the same ports in the host firewall. The wiki does not list firewall commands, so check your OS documentation.
- Wait for
Server startup completein the console or log, then test from a connection outside your network.
The hosting guide compares self-hosting with renting if you would rather not manage a router at all.
Restricting the listen address
By default the server listens on 0.0.0.0, which means any IP on the machine. Setting server.ip to a specific address, such as a LAN IP, restricts which network can connect. Leave it alone unless you have a reason, because a wrong value makes the server unreachable.
Troubleshooting
- Players can join but the server is not in the browser: the query port is closed or forwarded as TCP instead of UDP.
- Nobody outside your network can join: the game port is not forwarded as UDP, or the LAN IP changed.
- Remote admin tool cannot connect: RCON port not open as TCP, wrong password, or the port in the tool does not match
rcon.port. - Rust+ pairing fails: check the log for the connectivity test result, confirm the port is 10000 or above and open as TCP.
Frequently asked questions
Which ports does a Rust server use?
The game port (default 28015) and the query port use UDP. The RCON port and the Rust+ port use TCP. With default settings the Rust+ port works out to 28082.
What is the Rust query port?
A UDP port that services use to read server info, and the one the in-game server browser needs. If you do not set it, it defaults to one above the higher of the game port and the RCON port. It cannot be the same as the game port.
Which ports do I forward to host a Rust server at home?
Forward the game port and query port as UDP. Forward RCON and Rust+ as TCP only if you use them. Choose the exact protocol for each rule instead of 'both'.
How do I disable Rust+ on my server?
Set app.port to -1 on the command line. Because of parser conflicts the Facepunch wiki writes it as +app.port 1-.
Why is my Rust server not in the server browser?
Most often the query port is closed or forwarded with the wrong protocol. It has to be open as UDP. Also wait for 'Server startup complete' in the console before testing.
Sources
Run RCON commands, monitor Rust server logs, review chat history, and manage admin actions from one Rust RCON dashboard.