New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Join Your Left 4 Dead 2 Server
Left 4 Dead 2Left 4 Dead 2Join Server

How to Join Your Left 4 Dead 2 Server

Join a Left 4 Dead 2 server

3 min read
Jul 30, 2026

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.

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open server.cfg
    Open the following file. If it does not exist yet, create it:

    /left4dead2/cfg/server.cfg
    
  4. Enable direct connections
    Add the following line or set it to 0:

    sv_allow_lobby_connect_only "0"
    
  5. 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.

  1. Start Left 4 Dead 2
    Launch the game and wait for the main menu to load.

  2. Open the settings
    Open the Options and switch to Keyboard/Mouse.

  3. Enable the console
    Enable the Developer Console there.

Connect through the game console

  1. Open the console
    Press ~ in the game to open the console.

  2. Connect
    Enter the following command:

    connect IP:Port
    

Via Steam favorites

  1. Open Steam
    Open the Steam client.

  2. Open the server browser
    Click on View in the top left and select Game Servers.

  3. Add the server
    Click on the Favorites tab and then on + at the bottom right.

  4. Enter the server address
    Enter the IP address and the Game Port of your server and confirm.

  5. Join
    Select the server and connect. The server then also appears in the favorites section inside the game.

Written byEmeraldHost Team
Last updated on Jul 30, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Left 4 Dead 2

Ready to get started?

Rent your Left 4 Dead 2 Server now

Join our Discord community 1257 members online right now