How to Connect to Your Half-Life 2: Deathmatch Server
Join your Half-Life 2: Deathmatch 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 → Advanced → Enable 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 HL2:DM, and connects automatically.
Required Ports
| Port | Protocol | Purpose |
|---|---|---|
| 27015 | UDP + TCP | Game traffic + RCON |
Related Guides
How is this guide?

40% Off — Limited TimeGet your Half Life 2 Deathmatch server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server