Valheim Network Troubleshooting
Fix common Valheim connection issues — server not in browser, can't connect, crossplay problems, mod conflicts.
Server Not Appearing in the Community Browser
| Check | Fix |
|---|---|
| Public flag set | Ensure -public 1 in Startup. See Make Server Private — this controls visibility |
| Server still starting | Wait 1–2 minutes after startup. The server takes time to register with Steam |
| Crossplay enabled | Crossplay servers register through PlayFab relay, which can take longer to appear |
| Ports open | Verify UDP 2456, 2457, and 2458 are accessible |
Players Can't Connect
Verify the server is running
Open Console in the XGamingServer Panel and look for "Game server connected" or similar in the startup log.
Check the password
Common gotcha: the password must be at least 5 characters AND must NOT match the world name. The server refuses to start otherwise.
Verify the IP and port
In Network, confirm the IP and game port. The default is 2456 (UDP).
Check version match
If the player gets "Version mismatch", update the server. See Update Guide.
Xbox / Game Pass / Microsoft Store Players Can't Join
These platforms use the PlayFab relay which requires crossplay to be enabled.
Enable crossplay
In Startup, set the Crossplay variable on. See Crossplay Setup.
Restart and get the join code
After restart, check Console for the 6-character join code. Share this with console players — they connect via the join code, not direct IP.
Important: Crossplay servers cannot use client-side mods. Console players can't install mods, so they'll be rejected from modded servers.
Mods Causing Issues
Check the BepInEx log
Click Files in the sidebar and open BepInEx/LogOutput.log. Errors near the end usually indicate the failing mod.
Disable mods one at a time
Use the panel Mods sidebar to uninstall mods one by one until the server starts cleanly. The last one removed is likely the culprit.
Check mod compatibility
Make sure mods support your Valheim version. After major game updates, mods often need updates too. Check Thunderstore for newer versions.
"Disconnected from Server" Mid-Game
| Cause | Fix |
|---|---|
| Server out of RAM | Check Activity in the panel for memory usage |
| Network timeout | Player's connection is unstable — not a server issue |
| Server crashed | Check Console for the crash log. Often caused by a mod incompatibility |
| Steam outage | Rare, but Steam authentication outages can cause mass disconnects |
Required Ports Reference
| Port | Protocol | Purpose |
|---|---|---|
| 2456 | UDP | Game traffic |
| 2457 | UDP | Steam query (game port + 1) |
| 2458 | UDP | A2S query (game port + 2) |
Related Guides
How is this guide?

Enable Dev Commands on Your Valheim Server
Install the Server Devcommands mod to use spawn, fly, god mode, and other debug commands on your Valheim dedicated server.
Force a World Save on Your Valheim Server
Manually save your Valheim world to protect against data loss, plus how to configure auto-save intervals.