Fixed Valheim Server Not Showing Up? Here’s the Fix
If your fixed Valheim server isn’t showing up in the community server list, the cause is almost always a firewall, port forwarding, or a missing -public 1 launch flag. This guide walks you through each fix in order, from the most common to the most obscure, so you can get your server visible to friends and the public.
Why Your Server Isn’t Appearing
Valheim uses a master server list to let players find community servers. When you start a dedicated server, it sends a heartbeat to the master server, which then lists your server for others to see. If that heartbeat never arrives—or if your server is marked private—it won’t appear. The three usual culprits are:
- Launch flag missing: Without
-public 1, the server defaults to private and never appears in the list. - Firewall blocking outbound UDP: Your server can’t reach Valheim’s master server.
- Port forwarding wrong: Even if the server appears, players can’t connect unless ports are open.
Step 1: Check the Launch Flags
This is the single most common fix. If you started your server with a batch file or command line, make sure it includes -public 1. A typical dedicated server command looks like:
valheim_server.exe -nographics -batchmode -port 2456 -public 1 -name "My Server" -password "secret"
If you’re using a hosting panel or a script, look for a field labeled “Public” or “Visibility” and set it to enabled. After changing the flag, restart the server completely. Wait 2–3 minutes before checking the list—the master server can be slow to update.
Step 2: Verify Firewall Rules
Your server needs to send outgoing UDP packets on port 2456 (and sometimes 2457–2458 for the game data). If your firewall blocks these, the heartbeat never goes out. On Windows, you can add a rule manually:
- Open Windows Defender Firewall → Advanced Settings.
- Click Inbound Rules → New Rule → Port.
- Select UDP and enter 2456-2458.
- Allow the connection and apply it to all profiles.
Also add an outbound rule for the same ports, since some firewalls block outgoing traffic by default. If you’re on a Linux server, use ufw allow 2456/udp and ufw allow 2457/udp.
Step 3: Port Forwarding on Your Router
If the server is on your local network, the router must forward external traffic to the server’s local IP. Log into your router (usually at 192.168.1.1 or 192.168.0.1), find Port Forwarding or Virtual Server, and create rules:
- UDP 2456 → local IP port 2456
- UDP 2457 → local IP port 2457
- UDP 2458 → local IP port 2458
Make sure the server’s local IP is static—otherwise the forwarding breaks after a reboot. Set a DHCP reservation in your router or assign a static IP in the server’s network settings.
Step 4: Check Crossplay and Server Type
Valheim added crossplay support, which introduced a separate listing. If your server is set to crossplay, it may only show up for players using the same platform filter. In the server list, check the Crossplay filter toggle. If your server is not crossplay, ensure players are not filtering for crossplay servers. Also, make sure you are searching for Community servers, not Friends or Recent.
Step 5: Verify Server Logs and Heartbeat
If the server still isn’t showing, check the console or log file for errors. On Windows, the console output shows lines like Registering with master server or Failed to register with master server. If you see the latter, the issue is outbound connectivity. On Linux, check ~/.config/unity3d/IronGate/Valheim/log.txt for similar messages. A successful registration line means your server is visible; if players still can’t join, the problem is port forwarding or the player’s own firewall.
Common Mistakes and Misconceptions
Many people assume the server appears instantly. The master server can take up to 5 minutes to refresh. Also, the game’s server list only shows a limited number of servers at once—if you have many mods or a very long name, it might not appear. Try searching for your server by name (exact match) rather than scrolling. Another misconception: you don’t need to port forward if you’re using a VPN or Hamachi—those services use their own ports, but Valheim still needs its default port open on the hosting machine.
Frequently Asked Questions
Why can my friends join via IP but the server doesn’t show in the list?
This means your server is running and reachable, but the public flag is off. Add -public 1 to the launch command and restart. If it still doesn’t appear, check the firewall for outbound UDP 2456.
Does the server need a static IP?
No, but it helps. If your public IP changes, players can’t connect via IP, but the server list will still work as long as the heartbeat is sent. For port forwarding, the server’s local IP should be static to keep forwarding rules valid.
What ports does Valheim use for the server list?
The game uses UDP 2456 for the game port, and the master server communication uses the same port. Some guides mention TCP 2456, but Valheim uses UDP exclusively for gameplay and listing.
Can I run a server on the same machine I play on?
Yes, but you’ll need to open the ports on your router and ensure the server doesn’t conflict with the client. Running both on one machine can cause performance issues, and the server may not appear if the client is using the same port.
Why does my server show up for me but not for others?
This usually means the server is public and registered, but others can’t connect due to port forwarding. Use an online port checker to test if UDP 2456 is open from the outside. If not, re-check your router rules and firewall.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.