RCON on a Minecraft server is a remote console: once you set enable-rcon=true, a port in rcon.port (25575 by default) and a strong rcon.password in server.properties, any RCON client that knows the password can send console commands over the network. It is useful for bots, scripts and admin tools. If you only want to type commands yourself, the Console in your server panel already does that without opening anything.
The Minecraft Wiki describes enable-rcon as the setting that "allows access to the server console over a network". It is off by default, and for good reason: anyone with the port and the password has full console control.
The RCON settings in server.properties
| Property | Default | What it does |
|---|---|---|
enable-rcon | false | Turns RCON on or off |
rcon.port | 25575 | The TCP port RCON listens on |
rcon.password | blank | The password clients must send. If it is blank, RCON will not start |
broadcast-rcon-to-ops | true | Sends the output of RCON commands to online operators |
enable-rcon=true
rcon.port=25575
rcon.password=use-a-long-random-password-here
broadcast-rcon-to-ops=true
The wiki adds that RCON refuses to start with a blank password, as a safeguard. Use a long random password that you do not use anywhere else.
Do you need RCON at all?
Many people turn on RCON just to run commands when they are away from the PC. On a hosted server that is already solved.
| You want to | Best tool |
|---|---|
| Type commands from your phone or another PC | The panel Console |
| Run a command every day at a set time | Schedules with a "Send command" task |
Let a Discord bot run whitelist add | RCON |
| Use an external admin dashboard | RCON |
| Script commands from your own program | RCON |
On TheGameHosting the Console works in any browser, and Schedules can send commands and restart the server on a timer. Our guide on how to schedule automatic server restarts shows how.
How to set up RCON on a Minecraft server
- Stop the server from the Console.
- Open the Network tab. If it shows an additional port besides the main one, use it for RCON. If not, open a ticket and ask support for an extra port.
- In Files, open
server.properties. - Set
enable-rcon=true, setrcon.portto that extra port and set a long randomrcon.password. - Save the file and start the server.
- Check the Console for a line saying the RCON listener started on your port.
- Connect from your RCON client with your server address, the RCON port and the password, then run a harmless command such as
listto test.
How to connect to RCON
Any client that speaks the Source RCON protocol works with Minecraft. A common choice is mcrcon, a small open-source command-line tool:
mcrcon -H your.server.address -P 25575 -p "your-password" "list"
Replace the address and port with the ones from your panel. Without a final command, mcrcon opens an interactive session where you type commands one after another.
Discord bots and admin dashboards that support Minecraft usually ask for the same three things: host, RCON port and password. Give them only to tools you trust, because they get the same power as the server console, including op, stop and ban.
RCON security: what to know
- The connection is not encrypted. The password and commands travel in plain text. Do not use RCON over public Wi-Fi, and never reuse that password.
- Anyone with the password is an admin. They can op themselves, stop the server or run any command.
- Only open it when you need it. If the bot or tool that used RCON is gone, set
enable-rcon=falseagain. - Change the password if it leaks. Edit
rcon.password, restart, and update your tools. - On a home server, do not forward the RCON port unless a tool outside your network really needs it. Our port forwarding guide covers the game port only for a reason.
Common RCON problems and fixes
- RCON did not start:
rcon.passwordis blank, orenable-rconis stillfalse. Fix and restart. - Connection refused or timed out: the port is not reachable. Use the extra port from your Network tab, or ask support for one.
- "Address already in use" in the log:
rcon.portis set to the game port or to a port used by another service. Pick the extra port. - Authentication failed: wrong password, or extra spaces in
server.properties. Copy it again carefully. - Commands work but you see no output in game: that is
broadcast-rcon-to-ops. Set it totrueif you want operators to see RCON results.
If you are just getting started with commands, our guide on how to op yourself on a Minecraft server covers permissions, and the Minecraft server console guide covers the commands you will use most.
Manage your server from anywhere with TheGameHosting
On TheGameHosting most owners never need RCON: the Console runs in the browser on your phone or PC, Schedules sends commands and restarts on a timer, Users lets you give friends access with their own login, and Activity shows who did what. When a bot does need RCON, Files gives you server.properties and support helps with the port by ticket 24/7. Servers run in Dallas or Amsterdam on AMD 9950X or 7950X3D CPUs with DDoS protection on every plan.
Plans start at $1.90 USD per month on Minecraft server hosting. Compare RAM sizes on the game server plans page, use FULL2026 for 15% off for life and get your server ready in about 60 seconds from Pricing.
FAQ
What is RCON on a Minecraft server?
RCON is a remote console. With enable-rcon=true, a port and a password in server.properties, tools can send console commands to the server over the network.
What is the default RCON port for Minecraft?
The default rcon.port is 25575 over TCP. On a hosted server, use the extra port your panel gives you instead.
Is Minecraft RCON secure?
The RCON connection is not encrypted, so use a long unique password, share it only with tools you trust and turn RCON off when you do not need it.
Do I need RCON to run commands remotely?
Not on a hosted server. The panel Console works from any browser and Schedules can run commands for you. RCON is for bots and external tools.
Hosting for this game
Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.
All posts
TheGameHosting Team
