What Is a Cfx.re Join Code and How Does It Work?
A CFX.re join code like b578o4 points to a FiveM server rather than containing its address. How Cfx.re resolves it, every accepted format, and how to look one up.
By Titan Software · Published · Updated
The short answer
A join code like b578o4 is not the server — it is a matchmaking pointer that Cfx.re looks up on demand to find out where the server currently lives and whether it is online. The server itself is identified by its endpoint, not by the code.
What a join code actually is
When a FiveM or RedM server owner registers their server with Cfx.re, it gets assigned a short alphanumeric code — six characters, lowercase, like b578o4. That code is what gets pasted into Discord invites, server browser listings and community forum posts. It is deliberately opaque: it doesn't encode an IP address, a port or any other detail about the underlying machine.
Instead, the code is a key into Cfx.re's own directory of registered servers. Every time something asks Cfx.re to resolve b578o4, it looks up the current record for that code and returns whatever the server last reported — its name, player list, resources, and, most importantly, the network endpoint clients should connect to right now.
How Cfx.re resolves a code to a live endpoint
Under the hood, a running FiveM server process maintains a connection to Cfx.re's matchmaking infrastructure and periodically reports in: it's alive, here's my player count, here's my current address. Cfx.re keeps that as the live record behind the join code. When a client — or a resolver like CFXR — asks for b578o4, Cfx.re answers with the connect endpoint from that record, not a static value baked in at registration time.
That's why a join code keeps working even after a server owner reinstalls, changes data centers, or switches hosting providers entirely — the code never had a fixed address attached to it. Only the live record does, and that record updates continuously.
Every input format CFXR accepts
You rarely encounter a bare join code in isolation — it usually arrives wrapped in one of a few common formats. CFXR normalises all of them down to the underlying code before resolving anything, so you can paste whichever one you have on hand:
A bare code, like b578o4; a join/-prefixed path, like join/b578o4; a full cfx.re/join/b578o4 URL, the form most commonly shared in server browsers; a fivem://connect/b578o4 deep link, the form Discord invites and in-game prompts typically use; or a full servers.fivem.net server detail page URL, which embeds the same code in its path.
Why codes instead of raw IPs
The whole design exists to solve a mobility problem. Servers move — owners upgrade hardware, switch to a different host for better DDoS protection, or migrate regions to cut latency for their player base. If every invite, bookmark and forum post pointed at a raw IP address, all of that would break the moment the server moved. Because everything instead points at a join code, and the code is resolved fresh every time, a server can change its entire hosting setup without a single broken link.
It also gives Cfx.re a single place to enforce server bans, verify ownership and collect the browser metadata (name, tags, player count) that powers server discovery — none of which would be possible if servers were addressed directly by IP.
Where to find a server's join code
Server owners usually post the code — or a full cfx.re/join/ link — in their Discord, website or store page. In the FiveM server browser, the code is part of the server's detail page URL on servers.fivem.net. A fivem://connect/ link from an invite button carries the same code. Any of these can be pasted into a resolver as-is.
How to look up a CFX join code
Paste the code or link into the CFX resolver on the CFXR homepage. It asks Cfx.re's public server list for the live record behind the code and shows the server's name, player count, resources and tags, the connect endpoint, the IP address that endpoint resolves to and the network hosting it. Each result also gets a stable, shareable page at cfxr.cc/server/<code>.
Can a join code change?
The code stays the same for as long as the server keeps its Cfx.re registration, which is what makes it safe to share. It changes if the owner registers the server again under a new license key — at which point the old code stops resolving and every link that used it has to be updated.
Where to go from here
For the full walkthrough of turning a code into an actual IP address, ASN and hosting provider, see how to find a FiveM server's IP address. For the full list of endpoints CFXR exposes if you want to resolve codes programmatically, see the API documentation.