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

CheckFix
Public flag setEnsure -public 1 in Startup. See Make Server Private — this controls visibility
Server still startingWait 1–2 minutes after startup. The server takes time to register with Steam
Crossplay enabledCrossplay servers register through PlayFab relay, which can take longer to appear
Ports openVerify 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

CauseFix
Server out of RAMCheck Activity in the panel for memory usage
Network timeoutPlayer's connection is unstable — not a server issue
Server crashedCheck Console for the crash log. Often caused by a mod incompatibility
Steam outageRare, but Steam authentication outages can cause mass disconnects

Required Ports Reference

PortProtocolPurpose
2456UDPGame traffic
2457UDPSteam query (game port + 1)
2458UDPA2S query (game port + 2)

How is this guide?

40% Off — Limited TimeGet your Valheim server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page