# How to Connect to Your Day of Defeat: Source Server (/docs/day-of-defeat-source/join-server)



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

Find Your Server Address [#find-your-server-address]

Find your server IP and port on the **Network** tab in the [XGamingServer Panel](https://panel.xgamingserver.com). The default game port is **27015** (UDP).

Connect to Your Server [#connect-to-your-server]

<Tabs items={['In-Game Console', 'Steam Browser', 'Direct Link']}>
  <Tab value="In-Game Console">
    <Steps>
      <Step>
        Open the developer console [#open-the-developer-console]

        Press **`~`** (tilde) in-game. Enable the console first via **Options → Keyboard → Advanced → Enable developer console** if needed.
      </Step>

      <Step>
        Run the connect command [#run-the-connect-command]

        ```
        connect 123.45.67.89:27015
        ```

        With a password:

        ```
        connect 123.45.67.89:27015; password "YourPassword"
        ```
      </Step>
    </Steps>
  </Tab>

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

        In Steam, click **View** > **Game Servers** > **Favorites** tab.
      </Step>

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

        Click **Add a Server** and enter:

        ```
        123.45.67.89:27015
        ```
      </Step>

      <Step>
        Connect [#connect]

        Select the server in your favorites and click **Connect**.
      </Step>
    </Steps>
  </Tab>

  <Tab value="Direct Link">
    Share a `steam://` link on your website or Discord:

    ```
    steam://connect/123.45.67.89:27015
    ```

    Clicking the link launches Steam, opens DoD:S, and connects automatically.
  </Tab>
</Tabs>

Required Ports [#required-ports]

| Port      | Protocol  | Purpose             |
| --------- | --------- | ------------------- |
| **27015** | UDP + TCP | Game traffic + RCON |
| 27020     | UDP       | SourceTV (optional) |

Related Guides [#related-guides]

* [Server Configuration](/docs/day-of-defeat-source/server-config)
* [Set a Password](/docs/day-of-defeat-source/server-password)
