Know Your Ports
Your server’s address is shown in the Game Panel. Valheim uses a small range of ports based on the game port (default2456):
| Port | Purpose | Used by |
|---|---|---|
2456 (game port) | Game traffic | In-game Join IP |
2457 (game port + 1) | Steam query | Steam server browser / favorites |
Method 1: Steam Server Browser (Favorites)
Open Steam's server browser
In the Steam client, go to View → Game Servers and select the Favorites tab.
Method 2: In-Game Join IP
Enter the password
Valheim dedicated servers require a password (minimum 5 characters — see server configuration). Enter it and you’re in.
Method 3: Crossplay Join Code
If your server runs with the-crossplay startup flag, it registers with the crossplay backend and gets a join code (visible in the server’s console log at startup). Players on any platform can then:
- Open Join Game in Valheim.
- Choose Join by code / enter the join code.
- Enter the server password.
The join code can change when the server restarts — check the panel Console after each restart if your players join by code. Steam players can always use the IP methods above regardless of the crossplay flag.
Troubleshooting
'Incompatible version'
'Incompatible version'
Your game client and the server are on different Valheim versions. Update your client through Steam, and make sure the server is updated too (restart it from the Game Panel to pull the latest version).
'Failed to connect' or server not found
'Failed to connect' or server not found
Nine times out of ten this is a port mix-up: Join IP needs
2456, Steam favorites need 2457. Also confirm in the panel Console that the world has finished loading — the server accepts connections only after “Game server connected” appears in the log.Wrong password
Wrong password
Passwords are case-sensitive and at least 5 characters. If you changed the
-password startup parameter, the change only applies after a server restart.Mod mismatch (modded servers)
Mod mismatch (modded servers)
If the server runs BepInEx mods, most gameplay mods must be installed on your client in the exact same versions. A mismatch causes failed joins, instant disconnects, or weird desync. See installing mods.
Crossplay join code not working
Crossplay join code not working
Grab the current code fresh from the server console (it can change on restart). If the server was recently switched to crossplay, give it a minute after boot to register with the matchmaking backend. Modded servers should not use crossplay at all.
No server yet?
Get a Valheim server from €7.49/month — online in about 2 minutes, DDoS protection included.

