# How to Connect to Your CS:GO Server (/docs/counter-strike-go/join-server)



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

> 📝 **Note:** CS:GO was replaced by CS2 in September 2023. If you're running a CS2 server, see the [CS2 guides](/docs/counter-strike-2) instead.

Finding Your Server Address [#finding-your-server-address]

<Steps>
  <Step>
    Open the panel [#open-the-panel]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com) and select your CS:GO server.
  </Step>

  <Step>
    Copy the connection address [#copy-the-connection-address]

    On the **Dashboard**, find the **Connection Address** (e.g., `192.168.1.100:27015`). Click the copy button.

    {/* Screenshot needed: Dashboard showing Connection Address */}
  </Step>
</Steps>

Connecting [#connecting]

<Tabs items={['Console (Fastest)', 'Steam Server Browser', 'GOTV Spectating']}>
  <Tab value="Console (Fastest)">
    Press **`~`** (tilde) in-game to open the console, then type:

    ```
    connect 192.168.1.100:27015
    ```

    With a password:

    ```
    connect 192.168.1.100:27015; password "serverpass"
    ```
  </Tab>

  <Tab value="Steam Server Browser">
    <Steps>
      <Step>
        Open Steam servers [#open-steam-servers]

        In Steam, go to **View** → **Game Servers** → **Favorites**.
      </Step>

      <Step>
        Add your server [#add-your-server]

        Click **Add a Server**, enter your `IP:Port`, and click **OK**.
      </Step>

      <Step>
        Connect [#connect]

        Select the server and click **Connect**.
      </Step>
    </Steps>

    You can also use a direct link: `steam://connect/IP:PORT`
  </Tab>

  <Tab value="GOTV Spectating">
    If SourceTV is enabled (`tv_enable 1`), spectators connect to the GOTV port:

    ```
    connect 192.168.1.100:27020
    ```

    GOTV has a configurable delay (`tv_delay`) — default 90 seconds behind live play.
  </Tab>
</Tabs>

Ports [#ports]

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

On XGamingServer, ports are assigned automatically. Check the **Network** page in the sidebar if you need your assigned ports.

Connection Troubleshooting [#connection-troubleshooting]

| Issue                               | Fix                                                                                         |
| ----------------------------------- | ------------------------------------------------------------------------------------------- |
| Server not in browser               | Check GSLT is valid. Verify `sv_lan 0`. Port 27015 UDP must be open.                        |
| "Server is not responding"          | Server may be hibernating (`sv_hibernate_when_empty 1`) — normal, wakes on connect attempt. |
| "Connection failed after 4 retries" | Check firewall. Try `connect` via console with exact IP:Port.                               |
| Version mismatch                    | Both client and server must be on the same CS:GO/CS2 build.                                 |

Related Guides [#related-guides]

* [Server Configuration](/docs/counter-strike-go/server-config)
