Skip to content
/SLASHPLAY

How to change the RCON port in Minecraft

Set rcon.port=25575 in server.properties and restart the server. RCON then listens on that TCP port.

rcon.port

Sets the TCP port RCON listens on.

rcon.port=<port>

Examples

rcon.port=25575

Default.

Arguments

portRequired
The value to write after the equals sign.

What it does

Only used when enable-rcon is true. Keep it firewalled to trusted addresses.

Good to know

  • Changes take effect after a server restart.

Run it on your server

On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.

Your own
Minecraft server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.