Opening Monday 11 January 2027. Orders aren’t open yet. The Discord is where we say when we open. Join the Discord

Opening Monday 11 January

Happy Halloween from Exclsv.

Merry Christmas from Exclsv.

Happy Easter from Exclsv.

Happy summer holidays from Exclsv. Pick a game

How to make a Valheim server: ports, admins

Updated 9 November 2026 · 7 minute read · Valheim (PC), your own PC or a rented server · By Exclsv Support

Valheim’s dedicated server is a free Steam download (SteamCMD app 896660) for Windows or Linux. Open UDP ports 2456 to 2458, set a world name and a password of at least five characters, and list admins by Steam ID in adminlist.txt.

What you need

  • A Windows or Linux computer that stays on. Hosting from the game’s own menu works for an evening, but the world stops when you do.
  • SteamCMD. The server downloads without a Steam login; players need their own copy of Valheim.
  • Memory: about 4 GB for vanilla with a few players. A big BepInEx mod pack needs a lot more.
  • Valheim allows 10 players at once on a vanilla server.

Install and start it

  1. In SteamCMD, type force_install_dir ./valheim, then login anonymous, then app_update 896660 validate.
  2. Copy the start script that comes with the server (start_server.sh on Linux, start_headless_server.bat on Windows) and edit the copy.
  3. Set the line that starts the server, for example ./valheim_server.x86_64 -nographics -batchmode -name "My Valheim" -port 2456 -world "Dedicated" -password "longpassword" -public 1. The password needs at least five characters and can’t appear in the server name.
  4. Run the script. The server is ready when the console shows the world has loaded and Game server connected.

Ports to open

Valheim server ports
PortProtocolWhat it’s for
2456UDPThe game port. Forward it.
2457UDPThe query port, one above the game port. Forward it so the server list and Add server work.
2458UDPReserved next to them. Forward it as well.

Start options and saves

  • -world: the world’s name. A new name makes a new world; the same name loads the old one.
  • -public 1 lists the server, -public 0 hides it so people join with the address.
  • -saveinterval, -backups, -backupshort and -backuplong: how often the world saves and how many backups it keeps.
  • -preset, -modifier and -setkey: world difficulty, such as the raid rate or no build cost.
  • -crossplay: lets Xbox and PS5 players in. Xbox and PS5 players then join with a join code that the server prints in its console, and consoles can’t join by address.

Worlds are a pair of files, Dedicated.db and Dedicated.fwl, in worlds_local. On Linux that is under ~/.config/unity3d/IronGate/Valheim; on Windows under your user folder’s AppData\LocalLow\IronGate\Valheim. To move a world from your own game, copy both files there and set -world to the same name, spelt exactly the same.

Mods

Vanilla Valheim has no mods. For mods, install BepInEx (the BepInExPack_Valheim package on Thunderstore) into the server folder and put the mod files in BepInEx/plugins. Every player needs the same mods and versions as the server, and BepInEx mods and crossplay don’t work together.

Admins and the whitelist

Three text files sit next to the worlds, one Steam ID (the long number) per line:

  • adminlist.txt: admins, who can kick and ban from the in-game console (F5).
  • permittedlist.txt: a whitelist. Fill it and only those players can join.
  • bannedlist.txt: banned players.

Edit them with the server stopped, or they may be overwritten.

The easy way: on Exclsv

On an Exclsv server the ports are open, the world and password are set up and the world files are looked after for you. Crossplay is a switch under Game settings, Server, and the join code appears in the console. Choose BepInEx under Loader and version on the Mods page to add Thunderstore mods with everything they need, with crossplay off.

The top of the Valheim Game settings page in HQ.
Settings › Game settings, on a Valheim server.
Valheim server sizes and what each suits
SizeMemoryPlayersSuitsPrice a month
Friends6 GB10Vanilla£13.49
Community8 GB10Small mod packs£17.99
Modded12 GB10Big BepInEx packs£26.99

No VAT is charged.

Valheim plans and what each includes

If it doesn’t work

Friends can’t connect

In Valheim choose Join game, then Join IP, and type the address with port 2456. The server list’s Add server wants the query port, 2457. Check all three UDP ports are forwarded.

The server rejects the password

It needs at least five characters and can’t be part of the server name. Change it in the start line and restart.

Xbox and PS5 players can’t join

Consoles can’t join by address. Start the server with -crossplay and give them the join code from the console, then Join by code.

My world started again from nothing

The -world name has to match the file names exactly, including capital letters on Linux. Copy both the .db and .fwl files into worlds_local before you start.

Friends on your own home network can’t join with the public address

Some home routers don’t let devices inside the house reach the house’s own public address. People at home join with the server PC’s local network address instead; everyone else uses the public one.

Still stuck? Ask on the Discord or email us.

Run this on Exclsv: Valheim server hosting, from £13.49 a month

Valheim server settings explained

Opening Monday 11 January 2027

Come and say hello on the Discord. Tell us what you play and hear the news first.

Nothing is on sale yet.