Left 4 Dead is built around lobbies. The most reliable ways onto your own server are a direct connection through the game console or the Steam favorites.
Find connection details
Allow direct connections on the server
You only have to do this once.
-
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Open server.cfg
Open the following file. If it does not exist yet, create it:/left4dead/cfg/server.cfg -
Enable direct connections
Add the following line or set it to0:sv_allow_lobby_connect_only "0" -
Start the server
Save the file and start your server.
Enable the developer console in the game
The console is disabled by default in Left 4 Dead.
-
Start Left 4 Dead
Launch the game and wait for the main menu to load. -
Open the settings
Open the Options and switch to Keyboard/Mouse. -
Enable the console
Enable the Developer Console there.
Connect through the game console
-
Open the console
Press~in the game to open the console. -
Connect
Enter the following command:connect IP:Port
Via Steam favorites
-
Open Steam
Open the Steam client. -
Open the server browser
Click on View in the top left and select Game Servers. -
Add the server
Click on the Favorites tab and then on + at the bottom right. -
Enter the server address
Enter the IP address and the Game Port of your server and confirm. -
Join
Select the server and connect. The server then also appears in the favorites section inside the game.
Onto your own server from a lobby
If you want to start a campaign from a lobby the usual way but play on your own server, there are two options.
Set a search key
A search key restricts the server search started from a lobby to servers using the same key.
-
Set the key on the server
Add the following line to/left4dead/cfg/server.cfgand restart the server:sv_search_key "mykey" -
Set the key in the game
Every player in the lobby enters the same value in the game console:sv_search_key "mykey" -
Start the campaign
When the lobby then starts a campaign, only servers using this key are searched.
Force a specific server
Alternatively the lobby leader points the lobby at the server directly. The command is entered in the game console, not on the server:
mm_dedicated_force_servers 123.45.67.89:27015
