# How To Connect to Your Garry's Mod Server (/docs/garrys-mod/connect-to-your-server)



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

Here is how to connect to your Garry's Mod server.

Connecting via Console [#connecting-via-console]

<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 Garry's Mod server. Your server IP and port are displayed on the **Dashboard**.
  </div>

  <div className="fd-step">
    Open the In-Game Console [#2-open-the-in-game-console]

    Launch Garry's Mod and open the developer console by pressing the tilde key (`~`). If the console does not open, go to **Options** > **Keyboard** > **Advanced** and check **Enable Developer Console**.
  </div>

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

    Type the following command and press Enter:

    ```
    connect YOUR_IP:YOUR_PORT
    ```

    Replace `YOUR_IP:YOUR_PORT` with your actual server address (e.g., `connect 123.456.789.0:27015`).
  </div>
</div>

Connecting via the Server Browser [#connecting-via-the-server-browser]

<div className="fd-steps">
  <div className="fd-step">
    Launch Garry's Mod [#1-launch-garrys-mod]

    Open Garry's Mod and from the main menu, click **Find Multiplayer Game**.
  </div>

  <div className="fd-step">
    Search for Your Server [#2-search-for-your-server]

    Use the server browser to search for your server by name. You can also click the **Legacy Browser** button for a more detailed browser with favorites support.
  </div>

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

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

Connecting via Steam [#connecting-via-steam]

<div className="fd-steps">
  <div className="fd-step">
    Open Steam Server Browser [#1-open-steam-server-browser]

    In Steam, go to **View** > **Game Servers**. Click the **Favorites** tab and then **Add a Server**.
  </div>

  <div className="fd-step">
    Enter Your IP [#2-enter-your-ip]

    Enter your server's IP and port and add it to your favorites.
  </div>

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

    Select the server and click **Connect**.

    > 📝 **Note:** If the server uses custom content (addons, maps, etc.), you may need to download files when connecting. This process is faster if the server has [FastDL](/docs/garrys-mod/fastdl) configured.
  </div>
</div>
