# How To Connect to Your Risk of Rain 2 Server (/docs/risk-of-rain-2/connect-to-your-server)



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

You can connect to your Risk of Rain 2 server using the in-game console or through the Steam server browser.

Connect via In-Game Console [#connect-via-in-game-console]

<div className="fd-steps">
  <div className="fd-step">
    Find Your Server IP and Port [#1-find-your-server-ip-and-port]

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

  <div className="fd-step">
    Launch Risk of Rain 2 [#2-launch-risk-of-rain-2]

    Open Risk of Rain 2 through Steam.
  </div>

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

    Press \*\*Ctrl + Alt + Backtick (`)** to open the in-game console. If the console does not open, you may need to enable it by adding `--doorstop-enable true\` to your Steam launch options.
  </div>

  <div className="fd-step">
    Connect to Your Server [#4-connect-to-your-server]

    In the console, type the following command replacing the IP and port with your own:

    ```
    connect "IP:Port"
    ```

    > 📝 **Note:** The IP and port must be enclosed in quotation marks.
  </div>

  <div className="fd-step">
    Press Enter [#5-press-enter]

    Press **Enter** and you will connect to your server.
  </div>
</div>

Connect via Steam Server Browser [#connect-via-steam-server-browser]

<div className="fd-steps">
  <div className="fd-step">
    Find Your Server IP and Port [#1-find-your-server-ip-and-port-1]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com) and note your server IP and port.
  </div>

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

    In Steam, go to **View** > **Game Servers** (or **View** > **Servers** in older Steam versions).
  </div>

  <div className="fd-step">
    Add Your Server [#3-add-your-server]

    Click the **Favorites** tab, then click **Add a Server**. Enter your server IP and port and click **Add this address to favorites**.
  </div>

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

    Select your server from the favorites list and click **Connect**.

    > 💡 **Tip:** If you are having trouble connecting, make sure your server has fully started by checking the **Console** in the panel. Also verify that both you and the server are running the same version of the game and any required [mods](/docs/risk-of-rain-2/install-mods). If issues persist, join our [Discord](https://discord.xgamingserver.com) for help.
  </div>
</div>
