Valheim Dedicated Server Setup: Launch Parameters, Ports and Saves
A Valheim dedicated server runs on four launch parameters: -name, -port (2456 by default), -world and -password. Everything else is optional. On ChicagoServers you set them as fields on the Startup tab and the panel assigns the port. The password must be at least five characters and must not appear inside the world name or seed, or a public server refuses to start.
This guide covers the official launch parameters and the Startup field for each, how players connect (Steam IP connect versus crossplay join codes), where world data lives and how backups work. Details were checked against Iron Gate's official dedicated server guide and community documentation on 2026-11-01, after the Valheim 1.0 release on September 9, 2026.
- On ChicagoServers, set Server name, World name and Join password on the Startup tab, click Save startup, then Restart. The game-level minimum is
-nographics -batchmode -name "My Server" -port 2456 -world "Midgard" -password "secret123". - The default game port is UDP 2456, and the next port up (2457) is used as well. The panel assigns ports (Startup tab, Network), so you never forward them. With crossplay on, the Join code is shown at the top of the server page.
- Password rules: at least 5 characters, and it cannot appear inside the world name or seed.
- Valheim saves a world every 30 minutes by default (
-saveinterval 1800) and keeps 4 automatic backups (-backups 4). On the panel these are Save every (seconds) and Automatic backups kept, and the Backups tab makes your own backups. - Client and server versions must match, so click Update now on the Steam update bar before players update.
On this page
- The minimum launch command and the Startup tab
- All the launch parameters worth knowing
- Ports, crossplay and how players connect
- Password and name rules that stop servers from starting
- Where world data lives, and how saving and backups work
- Admin, ban and permitted lists
- Valheim 1.0 notes for server owners
- Frequently asked questions
The minimum launch command and the Startup tab
The server is the free “Valheim Dedicated Server” tool in Steam. Iron Gate's own guide has you edit launch parameters in the start script it ships. You never do that on ChicagoServers: the panel installs and updates the server, and you set each parameter as a field on the Startup tab. The command line preview and Extra launch options are staff-only, so for a parameter with no Startup field, contact support.
- Open the Startup tab
Sign in at panel.chicagoservers.co, open your server, then the Startup tab.
- Fill in the basics
Set Server name, World name and Join password (at least five characters, and not contained in the world name). Choose whether to turn on List publicly and Crossplay (Xbox / Game Pass).
- Save and restart
Click Save startup (the bar appears once something changed), then Restart at the top of the page. Every change applies at the next start.
- Watch the output
Valheim has no server console, so the Console tab shows output only. Wait for Game server connected there before telling players to join.
valheim_server.exe -nographics -batchmode -name "My Server" -port 2456 -world "Midgard" -password "secret123" -public 1To stop the server, use Stop at the top of the page: it saves the world and shuts the game down properly. If the server is frozen and will not stop, a Kill button appears (it ends the server without saving).
All the launch parameters worth knowing
| Parameter | What it does | Default | On ChicagoServers |
|---|---|---|---|
-name "text" | Server name shown in the server list. | none | Server name on the Startup tab |
-port 2456 | Game port. The server also uses the next port up. | 2456 | Assigned by the panel (Startup tab, Network) |
-world "name" | World to load. Creates a new world if that name does not exist. | none | World name |
-password "text" | Join password. | none | Join password |
-savedir PATH | Overrides where worlds and the admin/ban/permitted lists are stored. | user profile folder | Set by the panel; no Startup field, so contact support if you need it changed |
-public 1 | Lists the server in the community browser; 0 hides it. | 1 | List publicly |
-logFile PATH | Writes the log to a file. | none | No Startup field; the Console tab shows the server output |
-saveinterval 1800 | Seconds between world saves. | 1800 | Save every (seconds) |
-backups 4 | Number of automatic backups kept. | 4 | Automatic backups kept |
-backupshort 7200 / -backuplong 43200 | Intervals (seconds) for the short and long automatic backups. | 7200 / 43200 | First backup after / Later backups every |
-crossplay | Uses the PlayFab backend so players on any platform can join. | off | Crossplay (Xbox / Game Pass) |
-instanceid "1" | Unique ID when running several servers on one address and port. | none | No Startup field; contact support |
-preset, -modifier, -setkey | World modifiers: presets such as normal, casual, easy, hard, hardcore, immersive and hammer; -modifier raids none; -setkey nomap. | normal | World preset and modifiers (Combat, Death penalty, Resources, Raids, Portals, No build cost, Passive enemies, No map and more) |
Ports, crossplay and how players connect
There are two networking backends, and which one you pick decides how players join.
- Steam backend (default). The server uses UDP 2456 and the next port up. On ChicagoServers the panel assigns the ports (shown under Network on the Startup tab) and you do not forward anything. Players join through the in-game Community server list, or choose Join IP and enter the address and port from the top of the server page (click it to copy) plus the password.
- Crossplay backend. Turn on Crossplay (Xbox / Game Pass) on the Startup tab, click Save startup, then Restart. This uses PlayFab, so no port forwarding is needed. Players can connect by public IP and port, by join code, or from the server list. Loopback and local addresses do not work. Console players join with the Join code shown at the top of the server page. The code changes every time the server restarts.
On ChicagoServers you do not forward ports, install libraries or edit batch files yourself. The Valheim server hosting page lists what is included, such as a one-click BepInEx installer, free server backups and SFTP file access.
Password and name rules that stop servers from starting
- The Join password must be at least five characters.
- It cannot appear inside the world name or the seed, so a password of
garis rejected for a world calledMidgard. Host guides report the server loggingError bad passwordand exiting when it does. - Type names and passwords into the Startup fields as they are. If the server will not start, read the output on the Console tab and the Troubleshoot tab for the password error.
- The Steam server browser's password box is not read by the game. Enter the password in Valheim's own dialog.
Where world data lives, and how saving and backups work
Before 1.0, a world is two files named after it: Midgard.db (the world's progress) and Midgard.fwl (metadata including the seed). You need both to back up or move a world. Worlds sit in a worlds_local subfolder of the save folder; browse the server's files on the Files tab. On a Windows PC the default location is %USERPROFILE%\AppData\LocalLow\IronGate\Valheim, and on Linux it is ~/.config/unity3d/IronGate/Valheim.
With 1.0, each world is stored as a folder named after the world, holding numbered .fwl2, .db2 and chunk files. Older worlds load and are converted the first time they are saved. Conversion is effectively one-way, so keep your own copy of the original .db and .fwl before the first 1.0 load.
- Automatic saves: every 1800 seconds unless you change Save every (seconds) on the Startup tab.
- Valheim's automatic backups: controlled by Automatic backups kept, First backup after and Later backups every on the Startup tab. They sit next to the world, so they are not a substitute for a panel backup.
- Your own backup: open the Backups tab, choose World and settings, add a note if you like and click Back up now. For a schedule, use Automatic backups on the same tab (times are Chicago time). Star a backup to keep it from being replaced, and Restore or download it from Your backups.
Admin, ban and permitted lists
Three lists control who can join and who is an admin: adminlist.txt, bannedlist.txt and permittedlist.txt. On ChicagoServers they are on the Configs tab as Admins, Allowed players and Bans: open the list, put one platform user ID per line in the format [Platform]_[UserID] (case-sensitive), click Save, then Restart. Valheim shows IDs in the server output on the Console tab and in the in-game F2 panel. Admins can open the in-game F5 console and use kick, ban, unban and banned.
Valheim 1.0 notes for server owners
- Valheim 1.0 and the Deep North update released on September 9, 2026. Host documentation reports the launch parameters above are unchanged.
- The server still supports up to ten players.
- Clients and servers must run matching builds. Update the server first with Update now on the Steam update bar, because players on 1.0 cannot join an older build.
- Existing saves stay compatible, but Deep North only generates in areas nobody has explored, so heavily explored worlds may suit a new seed better.
- Mods built for earlier versions often break on a major engine update. See the BepInEx guide before updating a modded server.
Check the current Iron Gate patch notes before relying on any version-specific detail here. Hotfixes followed the 1.0 launch.
Frequently asked questions
What ports does a Valheim dedicated server use?
The default game port is 2456, and the server also uses the next port up, 2457 (UDP). On ChicagoServers the panel assigns the ports (Startup tab, Network) and you do not forward anything.
Why won't my Valheim server start with my password?
The password must be at least five characters and cannot appear inside the world name or seed. Change the Join password or the World name on the Startup tab, click Save startup and restart.
How do I let console players join my Valheim server?
Turn on Crossplay (Xbox / Game Pass) on the Startup tab, Save startup and restart. Players then join by Join code (shown at the top of the server page), by public IP and port, or from the server list. Console players cannot install mods, so only use server-side mods if consoles must join.
Where does Valheim save a dedicated server world?
In a worlds_local subfolder of the save directory. On ChicagoServers browse it on the Files tab or over SFTP. On a Windows PC the default is AppData\LocalLow\IronGate\Valheim, and on Linux ~/.config/unity3d/IronGate/Valheim.