How to Connect to Your Left 4 Dead 2 Server
Join your Left 4 Dead 2 dedicated server using the in-game console, Steam server browser, or a steam:// direct link.
Find Your Server Address
Find your server IP and port on the Network tab in the XGamingServer Panel. The default game port is 27015 (UDP).
Connect to Your Server
Open the developer console
Press ~ (tilde) in-game. Enable the console first via Options → Keyboard → Allow Developer Console if needed.
Run the connect command
connect 123.45.67.89:27015With a password:
connect 123.45.67.89:27015; password "YourPassword"Open Steam server browser
In Steam, click View > Game Servers > Favorites tab.
Connect
Select the server in your favorites and click Connect.
Share a steam:// link on your website or Discord:
steam://connect/123.45.67.89:27015Clicking the link launches Steam, opens L4D2, and connects automatically.
Required Ports
| Port | Protocol | Purpose |
|---|---|---|
| 27015 | UDP + TCP | Game traffic + RCON |
Related Guides
How is this guide?

Left 4 Dead 2 Server Guides
Step-by-step guides to set up, configure, and manage your Left 4 Dead 2 dedicated server at XGamingServer.
How to Change Max Players on Your Left 4 Dead 2 Server
Set the player limit on your Left 4 Dead 2 dedicated server, including how SourceMod plugins enable higher counts.