Skip to main content

"Private Server" Error

info

This guide helps you fix the "FiveM server is private" error.

Cause

This error appears when your server is not visible in the FiveM server list.


Solutions

1. Check your Cfx.re key

Make sure your license key is valid and properly configured:

sv_licenseKey "your_cfx_re_key"

2. Check sv_master1

Make sure this line is NOT commented out:

sv_master1 ""

3. Disable private mode

If you want your server to be public, remove or comment out:

#sv_lan true

4. Check the hostname

sv_hostname "My FiveM Server"

5. Restart the server

After making changes, fully restart the server.


Intentionally private server

If you want a private (whitelist) server:

sv_lan true

Players will need to connect using the direct IP:

connect IP:PORT
info

A private server does not appear in the list but remains accessible via direct IP.