MasaApps360
English
RCONRCON

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.

2 min read · Updated

The three lines to set

Stop the server, open server.properties in the server folder, and set these:

  • enable-rcon=true (the default is false)
  • 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.

The ports in server.properties
SettingDefaultProtocolWhat it is for
server-port25565TCPWhere players join
query.port25565UDPStatus queries, only when enable-query=true
rcon.port25575TCPRemote 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

  1. On the Servers screen tap the plus button to open Add Server.
  2. Type the machine's address in Hostname or IP. Do not add the port to it.
  3. Pick Minecraft under Server Type. Port fills in with 25575 on its own; change it only if your rcon.port is different.
  4. Put the exact value of rcon.password in RCON Password.
  5. 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?
25575, from 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?
No. 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?
Yes, set any free port in 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?
No. RCON is unencrypted and gives full control, so keep it on your local network or behind a VPN.

You might also like

More RCON guides