How to Connect to Your Team Fortress 2 Server
Join your Team Fortress 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).
TF2 requires a GSLT (Game Server Login Token) for the server to appear in the public browser. See Create GSLT.
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:27015Required Ports
| Port | Protocol | Purpose |
|---|---|---|
| 27015 | UDP + TCP | Game traffic + RCON |
| 27020 | UDP | SourceTV (optional) |
Related Guides
How is this guide?

Team Fortress 2 Server Documentation
Complete guides for setting up, configuring, and managing your Team Fortress 2 dedicated server on XGamingServer.
How to Change Max Players on Your TF2 Server
Set the player limit on your Team Fortress 2 dedicated server with recommendations for casual, competitive, and Mann vs. Machine modes.