Valheim Dedicated Server: How to Set It Up and Join
In Valheim, without a dedicated server, the world only exists while the host is playing. With one, every viking joins whenever they like.
What you need to know
A game allows 10 players at once: it's a limit of the game, not the server, and still is in 1.0. Each player needs their own copy of the game, on whatever platform: since 1.0 there's crossplay between PC, Xbox, PlayStation 5 and Switch 2. The server uses UDP ports 2456 and 2457 and, for 10 players, 4 GB of RAM works well; with heavily explored worlds, 6 GB.
The server program is free on Steam. If you have a PC that can stay on, you can run it yourself at home; if not, you rent one.
Rather not set it up yourself? Valheim servers from €8 a month, no contract and a full refund within 72 hours. Or create a free Valheim server, no card needed.
With NapNodes
Choose the plan
Meadows (4 GB) is enough for the game's 10 players; Mountain (6 GB), for mods and heavily explored worlds. If you just want to try it, there's a free server that you start when you're going to play.
Wait for the install
It installs and starts by itself; the first time it takes about 5 minutes. We email you when it's ready.
Find the password
It's generated automatically and you'll see it in “Settings” → “Password to join”, with “Copy”. You can change it there whenever you like.
Join
In the game: “Join game” → “Add server”, with the address and port from the “Address to play” card. Console players join with the game's join code. The world is created the first time someone joins. All of it, in how to join a Valheim server.
Mods (Thunderstore and BepInEx)
Valheim mods are loaded with BepInEx and almost all of them are on Thunderstore. In the panel, your server's “Mods” searches Thunderstore and installs the mod and its dependencies in one click (plus BepInEx, the first time). There are whole modpacks too. Restart the server for them to load.
Almost every Valheim mod is also needed by each player. When you install, we give you a code: in r2modman, when choosing a profile, “Import / Update” → “Import new profile” → “From code”, and every player has exactly the same mods as the server. Which ones are worth it for group play, in Valheim mods for playing with friends.
Your world, kept safe
The game itself saves the world every 30 minutes and keeps a few automatic backups of its own. On top of that, every night we make a daily backup of the whole server, and you can make your own whenever you like: all in the panel's “Backups”, where you download or restore them. We explain it in Valheim backups: restoring a lost world.
Frequently asked questions
How many players can a Valheim server hold?
10 at once. It's a limit of the game itself.
What ports does a Valheim server use?
UDP 2456 and 2457 (its own and the next one). With crossplay you don't need to open them on the router.
How do I add mods to a Valheim server?
With BepInEx. On NapNodes, from your server's “Mods”: you search Thunderstore and install in one click, with dependencies. Your players import the same mods in r2modman with the code we give you.
Can I move my Valheim world to the server?
Yes: since 1.0 each world is a folder; you upload it zipped in the panel's “Files” and decompress it there (for older worlds, the .db and the .fwl). If you prefer, open a ticket in “Help” and we'll do it for you.
Shall we set it up for you?
Valheim servers from €8 a month, never oversold: your RAM is yours alone. And if you'd rather start without paying, there's a free Valheim server, no card needed.
Not sure whether your server is online? Check it in a second with the Valheim server status checker: players, version and password, free.
Free tool: SteamID64 finder. Paste a Steam link, a username or a STEAM_0 ID and get every form of the ID and the adminlist.txt line for Valheim.
Free tool: Valheim world modifiers. Pick the difficulty, combat, portals or no build cost and copy the -preset, -modifier and -setkey for your Valheim dedicated server.
Keep reading
- How to Join a Valheim Dedicated Server (IP, Join Code and Errors)
How to join a Valheim server by IP or join code, and what to do about “incompatible version”, a rejected password or a server missing from the list.
- Raids on a Valheim Server: Why Your Base Gets Attacked and How to Control It
How often Valheim raids happen, what decides which one you get, why on a server they hit the player who joined late, and how to reduce or turn them off.
- How to Install Mods on a Valheim Server (BepInEx and Thunderstore)
Mods on a Valheim server step by step: BepInEx, Thunderstore, r2modman, which mods every player needs and how to fix version errors.