# How to Connect to Your Counter-Strike 2 Server (/docs/counter-strike-2/join-server)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Method 1: Console Connect [#method-1-console-connect]

<Steps>
  <Step>
    Press **`~`** to open the console.
  </Step>

  <Step>
    Type: `connect IP:PORT` (e.g., `connect 192.168.1.100:27015`).
  </Step>

  <Step>
    If password-protected: `connect IP:PORT; password yourpassword`.
  </Step>
</Steps>

Method 2: Steam Server Browser [#method-2-steam-server-browser]

<Steps>
  <Step>
    In Steam → **View** → **Game Servers** → **Favorites**.
  </Step>

  <Step>
    Click **Add a Server** → enter `IP:27015`.
  </Step>

  <Step>
    Select and **Connect**.
  </Step>
</Steps>

Ports [#ports]

| Port  | Protocol  | Purpose             |
| ----- | --------- | ------------------- |
| 27015 | TCP + UDP | Game traffic + RCON |
| 27020 | UDP       | SourceTV/GOTV       |

Troubleshooting [#troubleshooting]

| Issue          | Fix                                                            |
| -------------- | -------------------------------------------------------------- |
| Not in browser | Check [GSLT token](/docs/counter-strike-2/gslt-token) is valid |
| Can't connect  | Verify port 27015 TCP+UDP is forwarded                         |
| VAC error      | Use `-secure` flag; players should verify game files           |

Related Guides [#related-guides]

* [GSLT Token](/docs/counter-strike-2/gslt-token)
* [Server Configuration](/docs/counter-strike-2/server-config)
