Join your FiveM server: address, direct connect and common errors
you find your FiveM server’s address, connect to it from the game and know how to fix the common errors.
Before you start
- You need GTA V (Steam, Epic or Rockstar) and the FiveM client installed (fivem.net), plus a Cfx.re account linked to FiveM.
- Your server must be online (“En ligne”) on the panel, and have finished starting: allow two to three minutes for a server with a framework like Qbox, ESX or QBCore.
- Your server’s address shows on the dashboard: an IP followed by a port (for example
37.187.129.75:25005).
Check that the server answers
Before looking in the game, check the server from a browser: open http://IP:port/info.json (with your address). A page of text shows the server version, slot count and the list of loaded resources: the server is running. We tested it on the demo: immediate answer (“FXServer-master … linux”, 48 slots, OneSync on, txAdmin 8.1.2). http://IP:port/players.json lists connected players (an empty [] if none).
Connect from FiveM
Start FiveM. Two ways to join:
- Direct connect: in the main menu, click Direct Connect, type
IP:portthen confirm. - F8 console: once FiveM is open, press F8, type
connect IP:portthen Enter.
The first connection downloads the server’s resources: be patient, it is longer the first time.
Make the server appear in the list
The server appears in the public list under the sv_hostname setting from its server.cfg. The project name (sv_projectName) and tags (sets tags) go with it. See the “server.cfg: the key settings” guide. A new server can take a few minutes to appear; direct connect works right away.
Give the address to your players
Give them IP:port and the connect IP:port command. If you have a whitelist in your framework, they must be registered first.
If it does not work
“Could not connect to server” or timed out
first check info.json (step 1). If it does not answer, the server is offline, still starting, or the port is wrong: re-read the dashboard address.
“No license key” or “Invalid license key”
the server’s license key is not valid; see the “Start a FiveM server with txAdmin” guide, the key step.
“Server is full”
the slot count is reached (sv_maxclients). Raise it in server.cfg, within your plan’s limit.
A game version (“game build”) message
the server requires a specific GTA V build; FiveM offers to download it.
Stuck on “Downloading”
wait, or clear FiveM’s cache (the application’s cache folder) then try again.
Server not in the list
use direct connect while the list updates.
Questions? Get in touch
Our team will answer by message or on Discord.