If you're experiencing the frustrating issue of your FiveM server not showing on the server list, you're not alone. This is a common problem for many server administrators, and fortunately, it can often be resolved with some targeted troubleshooting. In this guide, we will delve into effective methods to overcome this issue, from checking your server configuration to verifying network settings.
Check Your Server Configuration
Before diving into complex solutions, it’s crucial to start with your server configuration. A misconfiguration in your server.cfg file can prevent your server from appearing in the list.
Steps to Verify Your Configuration
- Locate the
server.cfgfile: This file is usually found in the server's root directory. Open it using a text editor (like Notepad++ or VS Code). - Check Server Name: Ensure that you have a proper server name set up:
sv_hostname "Your Server Name Here" - Verify Tags: Make sure you have appropriate tags; they help categorize your server:
sv_tags "roleplay, custom, pvp" - Set up
sv_master1: This line helps your server communicate on the master server list:sv_master1 "https://servers.fivem.net/" - Port Configuration: Ensure the port is set correctly and open (default is
30120). Check if you have:endpoint_add_tcp "0.0.0.0:30120" endpoint_add_udp "0.0.0.0:30120"
Ensure the Server is Running
Sometimes, the server may simply not be running. Ensure that your server is up and operational:
- Use terminal or command prompt to navigate to your server directory.
- Run the command to start your server:
run.cmd +exec server.cfg - Monitor the console for any errors that may arise during startup.
Firewall and Port Forwarding
If your server configuration is correct, but it’s still not appearing in the server list, the issue might be associated with your network settings.
Configuring Your Firewall
- Open Windows Defender Firewall: Search for it in your Windows settings.
- Allow an App or Feature: Add your FiveM server executable to the allowed apps.
- Inbound Rules: Ensure there are rules set up to allow traffic through the relevant ports (especially TCP and UDP on 30120).
Port Forwarding Steps
To ensure outside connections can reach your server:
- Access Your Router Settings: Typically via
192.168.1.1or192.168.0.1in your web browser. - Locate Port Forwarding Settings: This is usually found under advanced settings.
- Add a New Rule: Forward TCP and UDP for port
30120to your local server IP. - Save Settings and Restart Router: Restart your router to apply changes.
DNS Settings and Connectivity Issues
Sometimes, connectivity issues can arise due to DNS settings. This can particularly affect local networks.
Adjusting DNS Settings
- Open your Network and Internet Settings.
- Navigate to the
Change Adapter Optionssection. - Right-click your active network and select
Properties. - Highlight
Internet Protocol Version 4 (TCP/IPv4)and clickProperties. - Select
Use the following DNS server addressesand enter:- Preferred:
8.8.8.8 - Alternate:
8.8.4.4
- Preferred:
- Restart your computer and test your connection again.
Validate Resource Start Order
If you're using frameworks like ESX or QBCore, the order of resource loading in your fxmanifest.lua can affect server visibility.
Check Your Resource Manifest
- Open the
fxmanifest.lualocated inside your resource folder. - Ensure that all dependencies are listed correctly. Example:
dependencies { 'es_extended', 'essentialmode' } - If your resource is dependent on other resources, ensure that they start before it:
start essentialmode start es_extended start your_resource_name
Test Your Server with Direct Connect
If after performing all the above steps, your server still isn’t showing, try connecting directly using your IP.
- In the FiveM client, press
F8to open the console. - Type:
connect <Your_IP>:30120 - If you connect successfully, this indicates that your server is operational; it just might not be listed publicly.
Frequently Asked Questions
Why is my FiveM server not showing up in the server list?
The most common reasons include incorrect server configuration, firewall settings, or issues with your router's port forwarding.
What is the default port for FiveM servers?
The default port for FiveM servers is 30120. Ensure this port is open and correctly configured in your firewall and router settings.
Can server resources affect visibility?
Yes, the order of resources in your fxmanifest.lua can affect the startup process and subsequently the visibility of your server.
How can I check if my server is running correctly?
You can check the console output when starting your server for errors and ensure you can connect via direct IP to verify its status.
Do I need to restart my router for port changes to take effect?
Yes, most routers need a restart after applying new port forwarding settings to ensure changes are applied.
Keep reading
How to Find a Laggy Resource With resmon 1 in FiveM
Learn effective methods to identify laggy resources using resmon 1 in FiveM for smoother gameplay.
Best Discord Channel Layout for an RP Server
Creating an effective Discord channel layout enhances communication and organization for your RP server.
How to Set Up a FiveM Staff and Admin System
Learn the essential steps to establish a robust staff and admin system for your FiveM server, enhancing management and player experience.