The server doesn't appear in the FiveM list
If your server doesn't show in the list or nobody can join, it's almost always the ports or the endpoint. We explain how to set it up right.
The problem
Your server starts but doesn't appear in the FiveM list, or your players can't connect even though you can from the same machine.
The cause
Port 30120 isn't open on TCP and UDP, the endpoints aren't declared, or the sv_licenseKey is invalid.
The solution
Declare the endpoints and make sure the license key is set in your server.cfg:
bash
# server.cfg
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_hostname "My City RP"
sv_licenseKey "YOUR_KEYMASTER_LICENSE_KEY"
sv_maxclients 48Step by step
- 1.Open port 30120 on TCP and UDP in the Windows firewall and on your router/VPS.
- 2.Check that the sv_licenseKey is valid and bound to the IP in keymaster (cfx.re).
- 3.Don't use `sv_endpointprivacy true` if you want to appear in the public list.
- 4.Restart the server completely after editing server.cfg.
Related guides
Last updated: 2026-06-17. Crxative-M is not affiliated with Cfx.re or Rockstar Games.
