# Connect to my FiveM server

{% hint style="info" %}
You can join a FiveM server either via the **list** (by name), or by **direct connection** with `IP:PORT`.
{% endhint %}

### Objective

* Retrieve **IP/port** (or a domain).
* Join the server via FiveM.

### Step-by-step guide

{% stepper %}
{% step %}
**Retrieve the server's IP (and port)**

On the dashboard, locate **IP Address**.

<figure><img src="/files/7a67a6aacb8442f1209604b69deb9ab4c3c3785b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can also use a domain to avoid sharing the IP:\
[Put a domain name on your server](/en/dashboard/mettre-un-nom-de-domaine-sur-son-serveur.md).
{% endhint %}
{% endstep %}

{% step %}
**Access the server list**

Open FiveM, then click **Play**.

<figure><img src="/files/9f61eb3c739461e1a5c2507f1d0a7a39288fba46" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Connect using the server name**

Search for the **name** of your server.

<figure><img src="/files/935b817fd9bea04731f9ae408c260f67c3a224b5" alt=""><figcaption></figcaption></figure>

Click on **Connect**.
{% endstep %}

{% step %}
**Connect using the server's IP address**

Type: `>IP:port`

Example:

<figure><img src="/files/50e295a7e303d4cc7c5074e03671fc983c7d4a17" alt=""><figcaption></figcaption></figure>

Press **Enter**.
{% endstep %}
{% endstepper %}

### Common issues

#### The server does not appear in the list

* Test the connection by IP.
* Verify that the server is actually started.
* Wait 1 to 2 minutes. The listing may be delayed.

#### `Failed to connect` / timeout

* Check the IP/port (copy-paste from the dashboard).
* Try again after a server restart.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oxygenserv.com/en/gta-v/se-connecter-a-mon-serveur-fivem.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
