Skip to content

Left 4 Dead 2: RCON

Discover how to securely manage and control your Left 4 Dead 2 game server remotely without joining the game

30 November 20262 min read35 Views0 helpful

Don't have your own server yet? Host your Left 4 Dead 2 server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

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 allows you to run administrative commands, adjust configuration parameters, or retrieve server status information.

In Left 4 Dead 2, 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 benefit 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 Left 4 Dead 2 through external tools, command lines, or web dashboards—making remote management flexible and practical.

Configuration

ZapX automatically sets an RCON password for your server. You can find it in the Configuration tab under Startup Parameters, in the RCON Password field. You can also change it there; the change takes effect after you restart your server. Each time it starts, your server writes the password to the left4dead2/cfg/server.cfg file, so do not change it in this file.

If the custom.cfg file in the left4dead2/cfg folder still contains a rcon_password line, remove it so the password set in the panel takes effect.

Connecting via RCON

To connect to your Left 4 Dead 2 game server via RCON, use the rcon-cli command-line tool. 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.

Use the port from your server address (IP:port), which you can find on the Overview page of your game server. Source servers accept RCON connections over TCP on the same port used by the game, so a separate RCON port is not needed. Use the RCON Password from the Configuration tab as the password. Run the following command to connect and execute a command right away:

bash
rcon-cli -a <IP>:<PORT> -p <PASSWORT> befehl

RCON commands

Once connected via RCON, you can run various administrative and diagnostic commands on your Left 4 Dead 2 game server. The available commands depend on the game engine, but typically include actions for managing players, checking status, and controlling the server.

CommandDescription
rcon_password <passwort>Authenticates RCON access
statusDisplays server and player information
changelevel <mapname>Switches to the specified map
mp_timelimit <min>Sets the time limit for each map
mp_roundtime <min>Sets the round duration
sv_cheats 0/1Enables/disables cheat commands (admins only)
kick <spielername>Kicks a player from the server
banid <dauer> <SteamID>Bans a player for a specified period
exec <datei.cfg>Executes a configuration file
say <nachricht>Sends a message to all players

Conclusion

RCON is an essential tool for remotely managing Left 4 Dead 2 game servers. It provides quick, direct access to administrative functions and uses password protection to control access securely. Proper and secure configuration is essential to maintain server stability and prevent unauthorized access.

If you have any questions or need help, our support team is here for you every day! 🙂

Free tools

Left 4 Dead 2 Tools

View all

FAQ

Frequently asked questions

RCON is already enabled on your server. You can find and change the password in the Configuration tab under Startup Parameters, in the RCON Password field. Changes take effect after a restart. Remove any old rcon_password line from left4dead2/cfg/custom.cfg so the password set in the panel takes effect.
Use the rcon-cli command-line tool (available on GitHub at gorcon/rcon-cli), and connect using the server IP, RCON port, and RCON password: rcon-cli -a <IP>:<PORT> -p <PASSWORT> befehl.
There is no separate RCON port: RCON uses TCP on the same port as the game. Use the port from your server address, shown on your game server's Overview page.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.