"Private Server" Error
This guide helps you resolve the "FiveM server is private" error.
Cause
This error appears when your server is not visible in the FiveM server list.
Solutions
1. Check the Cfx.re key
Make sure your license key is valid and correctly configured:
sv_licenseKey "your_cfx_re_key"
2. Check sv_master1
Make sure this line is NOT commented:
sv_master1 ""
3. Disable private mode
If you want your server to be public, remove or comment:
#sv_lan true
4. Check the hostname
sv_hostname "My FiveM Server"
5. Restart the server
After modifications, completely restart the server.
Intentionally private server
If you want a private server (whitelist):
sv_lan true
Players will need to connect via direct IP: connect IP:PORT
info
A private server doesn't appear in the list but remains accessible by direct IP.