Left 4 Dead 2 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:/left4dead2/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 2.
-
Start Left 4 Dead 2
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.
