RCON (Remote Console) is a network protocol that lets you control game servers remotely. It provides access to the server console without requiring direct interaction with the server environment. This lets you run administrative commands, adjust configuration parameters, or retrieve server status information.
In Factorio, RCON is used to run server-side commands, such as managing players, changing gameplay settings, or retrieving diagnostic output. The connection is password-protected and uses a designated port that can be accessed through compatible RCON clients.
One major advantage of RCON is that you can manage the server without being connected to the game as a player. Server admins can conveniently monitor and control Factorio through external tools, command-line interfaces, or web dashboards—perfect for flexible remote management.
RCON is always enabled on your Factorio server, so you don't need to turn it on. ZapX automatically generates the password during setup. You can find it in the Configuration tab of the game server management panel, under Startup parameters in the RCON Password field. You can replace it with a secure password of your own, but you can't leave the field empty.
You can find the assigned RCON port under More ports in the Server details section on the Overview page of your game server.
To connect to your Factorio game server via RCON, use the command-line tool rcon-cli. You can download it from the official GitHub repository. After downloading and installing it on your computer, connect using the server's IP address, the RCON port, and the RCON password.
You can find the assigned port under More ports in the Server details section on the Overview page of the game server management panel. The password and port must match the values in the control panel. Use the following command to connect and run a command immediately:
rcon-cli -a <IP>:<PORT> -p <PASSWORD> command
Once connected via RCON, you can run various administrative and diagnostic commands on the Factorio game server. The available commands depend on the game engine, but typically include actions for managing players, checking status, and controlling the server.
| Command | Description |
|---|---|
/help | Lists all available commands |
/players | Lists all connected players |
/kick <player> | Kicks a player from the server |
/ban <player> | Permanently bans a player |
/unban <player> | Unbans a player |
/admins | Shows the list of server admins |
/promote <player> | Grants admin privileges to a player |
/demote <player> | Removes a player's admin privileges |
/save | Saves the current world state |
/server-save | Triggers a manual server save |
RCON is an essential tool for remotely administering Factorio game servers. It provides quick, direct access to administrative features and uses password protection to control access securely. Correct and secure configuration is essential for maintaining server stability and preventing unauthorized access.
If you have any questions or need help, our support team is here for you every day! 🙂
