# How To Connect to Your Mordhau Server (/docs/mordhau/connect-to-your-server)



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

Here is how to connect to your Mordhau server.

Connecting via the In-Game Server Browser [#connecting-via-the-in-game-server-browser]

<div className="fd-steps">
  <div className="fd-step">
    Get Your Server IP [#1-get-your-server-ip]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com) and select your Mordhau server. Your server IP and port are displayed on the **Dashboard**.
  </div>

  <div className="fd-step">
    Launch Mordhau [#2-launch-mordhau]

    Open Mordhau through Steam.
  </div>

  <div className="fd-step">
    Open the Server Browser [#3-open-the-server-browser]

    From the main menu, click **Play** > **Server Browser**.
  </div>

  <div className="fd-step">
    Find Your Server [#4-find-your-server]

    Use the search bar to search for your server by name. You can filter by game mode, map, and player count.
  </div>

  <div className="fd-step">
    Join the Server [#5-join-the-server]

    Select your server and click **Join**.
  </div>
</div>

Connecting via Console Command [#connecting-via-console-command]

<div className="fd-steps">
  <div className="fd-step">
    Open the Console [#1-open-the-console]

    In Mordhau, open the console by pressing the tilde key (`~`).
  </div>

  <div className="fd-step">
    Connect [#2-connect]

    Type the following command:

    ```
    open YOUR_IP:YOUR_PORT
    ```

    Replace `YOUR_IP:YOUR_PORT` with your actual server address (e.g., `open 123.456.789.0:7777`).

    > 📝 **Note:** If you cannot find your server in the browser, try using the console connect method with the direct IP instead.

    > 💡 **Tip:** You can add your server to your in-game favorites for quick access by clicking the star icon next to the server in the browser.
  </div>
</div>
