# How To Connect to Your RedM Server (/docs/redm/connect-to-your-server)



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

You can connect to your RedM server through the RedM client's server browser or by using the direct connect feature.

> 📝 **Note:** You need the RedM client installed to connect to a RedM server. Download it from [redm.net](https://redm.net/). You also need a legitimate copy of Red Dead Redemption 2.

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

<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 RedM [#2-launch-redm]

    Open the RedM client on your computer.
  </div>

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

    Click **Play** to open the server browser.
  </div>

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

    Use the search bar at the top to search for your server by name. You can also filter by game type, player count, or other criteria.
  </div>

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

    Click on your server and then click **Connect** to join.
  </div>
</div>

Connect via Direct Connect [#connect-via-direct-connect]

<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 from the **Dashboard**.
  </div>

  <div className="fd-step">
    Open Direct Connect [#2-open-direct-connect]

    In the RedM client, press **F8** to open the console, or click the **Direct Connect** button in the server browser.
  </div>

  <div className="fd-step">
    Enter Your Server Address [#3-enter-your-server-address]

    If using the console, type:

    ```
    connect IP:Port
    ```

    If using the Direct Connect dialog, enter your server IP and port and click **Connect**.

    > 💡 **Tip:** Make sure you have created a [cfx.re license key](/docs/redm/create-license-key) and added it to your server configuration before trying to connect. Without a valid license key, your server will not appear in the server browser.
  </div>
</div>

Server Not Showing in the Browser? [#server-not-showing-in-the-browser]

If your server doesn't appear after a few minutes, try these steps:

* Use **Direct Connect** with your IP and port as a workaround while it propagates
* Verify your license key is set correctly in your server config — see [Create a License Key](/docs/redm/create-license-key)
* Check the **Console** in the panel for any startup errors
* Make sure port **30120** (TCP and UDP) is open on your firewall
* Confirm `set onesync on` is in your `server.cfg`

If you're still having trouble, visit our [Troubleshooting guide](/docs/redm/troubleshooting) or join our [Discord](https://discord.xgamingserver.com).
