CS2: How to Join Your Server (and Watch with GOTV)
How to join your DatHost CS2 server from the console, with or without a password, watch it with GOTV, and fix the most common connection problems.
In this article
Turn on the developer console
You only need to do this once.
- Start Counter-Strike 2 and open Settings.
- Open the Game tab.
- Set Enable Developer Console (~) to Yes.

The console opens with the ~ key, under Esc. You can change the key in the keyboard settings.
Join your server
- Go to your DatHost Control Panel and click Edit on your CS2 server.
- Click the server address next to IP, under your server's name.
- Click Copy next to Console command.
- In CS2, press ~ to open the console, paste the command and press Enter. It looks like this:
connect name.dathost.net:12345

If the server has a Server Password, the console command already includes it:
connect name.dathost.net:12345; password yourpassword
If you type the command yourself, add the password after a semicolon like this.
The numbers after the colon are the port. Always include them.
Sharing with friends: in the same box, Copy invite has a Discord and a Text button. They copy a ready-made message with the console command, how to join, and a link to this guide. If the server has a password, it's in the message too, so only send it to people you want on the server.
Watch with GOTV
GOTV lets people watch the server as a spectator, with a short delay, without taking a player's place. It also records demos.
- In the control panel, open Settings on your CS2 server, then the Options tab.
- Turn on Enable GOTV.
- Click Save changes, then restart the server.
- Click the server address under your server's name, open Details, and click the copy button next to GOTV. Connect to it in the console the same way:
connect name.dathost.net:12346

GOTV uses one slot. For a 5v5 match with GOTV, you need at least 11 slots. You can change this under Server Size on the Server tab.
Need two streams with different delays? Turn on Enable Secondary GOTV as well. It uses another slot.
GOTV keeps disconnecting with "Client delta ticks out of order"? This usually means the viewer's connection is dropping packets. Try a wired connection instead of Wi-Fi, and turn off any VPN. If it keeps happening, contact support with the time it happened, and we'll check the server.
Can't connect?
- Check the whole address. Include the port after the colon.
- Check the server is running in the control panel.
- Using a custom domain? Try the DatHost address instead, for example
connect name.dathost.net:12345. If that works, the problem is your domain's DNS settings. - Restart Steam and CS2 fully, then try again.
- Only you can't connect? It's usually something on your side: a VPN, antivirus, Windows Firewall or your internet provider. Try without the VPN, or from another network.
- Right after a CS2 update? Plugins can stop the server working until they're updated. See CS2: How to Install Plugins.
Still stuck? Contact support with the time you tried and the error you saw.
My server isn't in the server browser
- If Private Server is on in Settings > Options, the server is hidden from Steam and the in-game community server browser on purpose. Players can still join with the console command.
- Add a Steam GSLT on the Server tab in Settings. It helps the server show in the browser. See CS2: Create a Game Server Login Token (GSLT).
- Steam's CS2 server browser doesn't always list every server, even when it's set up correctly. Joining with the console command still works.
To stop people joining, set a Server Password on the Server tab. Private Server only hides the server from the list.
Common questions
Can I give my server an easier address? Yes. Under Custom Domain on the Server tab in Settings, pick a name and one of our domains. Players still need the port, for example connect yourname.dat.airforce:12345. CS2 can't work out the port from the name.
Should I give players the numbers-only IP address? No, use the address with the name, like name.dathost.net:12345. The numbers can change if the server moves location, but the name keeps working.
Can players with a VAC ban join? No. VAC is always on, and we can't turn it off for that because of Valve's rules for CS2 servers.
Do players need to download Workshop maps? CS2 asks them to accept the download when they join. See CS2: How to Host Workshop Maps and Collections.