Minecraft RCON port: what 25575 is and what goes in server.properties
The default RCON port of a Minecraft Java server is 25575, set by rcon.port in server.properties. RCON stays off until you set enable-rcon=true and a non-empty rcon.password, and you have to restart the server for any of it to apply.
The three lines to set
Stop the server, open server.properties in the server folder, and set these:
enable-rcon=true(the default isfalse)rcon.port=25575(the default, change it only if the port is taken or your host assigned another one)rcon.password=followed by a long password that you do not use anywhere else
Start the server again. With an empty password the server logs that no RCON password is set and leaves RCON disabled, so the port never opens. RCON uses TCP.
RCON port, game port and query port
Three numbers get mixed up all the time, and typing the wrong one in a client is the commonest reason a connection fails.
| Setting | Default | Protocol | What it is for |
|---|---|---|---|
server-port | 25565 | TCP | Where players join |
query.port | 25565 | UDP | Status queries, only when enable-query=true |
rcon.port | 25575 | TCP | Remote admin console |
The query port has nothing to do with RCON. A tool that asks "how many players are online" through query does not need the RCON password, and an RCON client does not need enable-query. The RCON app uses RCON only; its players-online chip comes from the list command, not from a query port.
Where each line goes in the app
- On the Servers screen tap the plus button to open Add Server.
- Type the machine's address in Hostname or IP. Do not add the port to it.
- Pick Minecraft under Server Type. Port fills in with 25575 on its own; change it only if your
rcon.portis different. - Put the exact value of
rcon.passwordin RCON Password. - Tap Test Connection, then Save Server.
So rcon.port becomes Port, rcon.password becomes RCON Password, and enable-rcon has no field at all because it lives only on the server.
Keep 25575 off the internet
On a home network iOS asks for Local Network access the first time the app connects. Allow it, otherwise a server on your Wi-Fi is unreachable.
If the connection still fails
- The server was not restarted after the edit.
- The password in the app has a trailing space, or differs from
rcon.password. - You typed 25565, the game port, in Port.
- A host panel runs RCON on a different port than 25575; use the one the panel shows.
The RCON connection refused guide goes through the error messages, and the open-port guide shows how to test a port from the phone.
Questions and answers
What is the default RCON port for Minecraft?
rcon.port in server.properties. It is TCP, and it is not the same as the game port 25565.Is the RCON port the same as the query port?
query.port) uses UDP and only works with enable-query=true. RCON is a separate TCP service with its own port and password.Can I change the RCON port?
rcon.port and restart the server, then enter the same number in the app's Port field.Is it safe to open port 25575 to the internet?
You might also like
- How to check if your game server's port is open from your phone · RCON
- Why does Minecraft RCON say connection refused, and how to fix it · RCON