DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
VGSources
Blog

Valheim Server Won’t Start: Causes and Fixes

A practical Valheim dedicated-server troubleshooting guide covering launch scripts, argument rules, world and save paths, Steam ports, crossplay, logs and recovery.
Length9 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Most Valheim dedicated-server failures come from the launch script, an invalid argument, a world/save-directory mismatch, or confusing a network-discovery problem with a startup failure. Check those in that order.

The decisive test is the server log: when it reaches “Game server connected”, the process has started successfully and is ready to accept connections. If that line never appears, fix the installation, script, arguments, or save files before changing router settings.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

First, determine whether the server actually failed to start

A Valheim server can appear broken in two very different ways:

  • Startup failure: the process exits, the window closes, the log reports an argument or file error, or the world never loads.
  • Reachability or discovery failure: the process remains running and reaches Game server connected, but you or your friends cannot find or join it.

Do not troubleshoot these as the same problem. Port forwarding cannot repair a misspelled world name, and changing the world name will not make a correctly running server visible through a blocked router port.

Iron Gate’s guide describes the successful state this way: “When the Server program shows the message ‘Game server connected’ the Server is up and running, ready to accept connections.” Use that line as the dividing point for the rest of your diagnosis.

Restore the correct dedicated-server tool and launch script

Install the dedicated server from Steam’s Tools library

Use the separate Valheim Dedicated Server tool, not the normal game client. In Steam, open Library, change the library filter to Tools, install Valheim Dedicated Server, and open its installation folder.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A server that stopped working immediately after a game update often has not suffered a new networking problem. Steam updates can overwrite the stock launch script and remove custom arguments.

Copy the supplied script before editing it

  1. In the server folder, locate start_headless_server.bat on Windows or start_server.sh on Linux.
  2. Make a copy with your own name, such as my_valheim_server.bat or my_valheim_server.sh.
  3. Edit the copy, leaving the original available as a clean reference after future updates.
  4. Launch the copied script from the installed server directory. If the script uses a relative executable path, starting it elsewhere can make the executable or save path appear to be missing.

On Linux, ensure the copied shell script is executable before launching it. If you replace the script after an update, recheck every argument rather than assuming the previous file was preserved.

Validate every launch argument

The script is the control point for the server. Read it from left to right and check the value and spelling of each argument. A single typo can cause an immediate exit or make the server load a different world than expected.

Rank #2
Popular Trending Survival Viking Video Computer Game Laminated Sticker gift perfect for laptop, kindle, pc, tumbler, tablet and more Norse God Odin Troll Raven (Valheim)
  • Viking Game laminated laptop stickers All approx 3"-4" in length
  • Laminated, Not UV Proof. Will fade in sun. Best used indoors.
  • Great for Laptops, Phones, Computers, Tablets and more!
  • Handmade by a Stay at Home Small Business Mama!
Argument What it controls What to verify
-name The server name shown to players Use a unique name. The password must not appear in this name.
-world The world selected for loading or creation Match the existing world name exactly, including capitalization and spaces.
-password The join password Use at least five characters. Do not reuse text from -name.
-port The base network port Use a numeric value. The Steam backend also uses the next port.
-public Whether the server is listed publicly Keep the value in the syntax accepted by the current stock script; the common public setting is 1.
-savedir Where worlds, characters and permission files are read and written Use an existing directory that the account running the service can read and write.
-crossplay The backend used for player connections Include the flag when you want the PlayFab relay instead of the default Steam backend.
-logFile A persistent location for server output Set a writable file path so errors remain available after a window closes.

A useful argument block, using concrete values, looks like this:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
-name "Ashlands Co-op" -world "AshlandsCoop" -password "fjord42" -port 2456 -public 1 -savedir "/srv/valheim"

Keep the executable and other switches already supplied by your installed script; the example shows the server-specific values, not a replacement for the complete vendor script. Add -crossplay as a flag when selecting the crossplay backend.

Password and path rules that commonly stop startup

  • A password shorter than five characters is rejected.
  • A password that appears in the server name violates the server’s password rule.
  • A nonnumeric -port value prevents a valid listener from being created.
  • A -savedir location that does not exist, or that the service account cannot write, prevents world and permission files from being opened.
  • Launching from a different working directory can break relative paths in the script.

Fix a world that will not load or appears to have reset

Understand the difference between -world and -savedir

-world selects a world by name. It does not search every disk location for a similarly named file. -savedir changes the root location in which Valheim looks for worlds and permission files and where it writes new data.

If the server creates a fresh world, says a world cannot be found, or appears to have lost progress, check both values together. A correct world name paired with the wrong save directory still points to the wrong data.

Check the default save locations

When you have not deliberately set -savedir, Iron Gate documents these defaults:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Valheim The Bees Are Happy Video Game Inspired Unisex Tank Top
  • Gaming Inspired Design
  • Geek Culture
  • Lightweight, Classic fit, Double-needle sleeve and bottom hem
Operating system Default Valheim save location
Windows %USERPROFILE%/AppData/LocalLow/IronGate/Valheim
Linux ~/.config/unity3d/IronGate/Valheim
  1. Stop the server completely so no save is being written.
  2. Open the directory selected by -savedir, or the applicable default above.
  3. Confirm that the world files belong to the expected world name.
  4. Make the -world value exactly match that name.
  5. Start the server again and watch the log for the world-loading result before inviting anyone to connect.

Do not delete or overwrite files while diagnosing the problem. If you need to test a new world, use a different world name so the existing save remains untouched.

Separate Steam networking from crossplay networking

Steam backend: default behavior

When -crossplay is omitted, the server uses the Steam backend. The configured base port and the following port are used; the official default pair is 2456–2457. For a server reachable from outside your home network, forward both the selected port and the next port in your router, then allow the server executable through the host computer’s firewall.

If you change -port from 2456, forward the new value and its successor. For example, a base port of 3000 requires the 3000–3001 pair, not the old 2456–2457 pair. A mismatch between the script and router is enough to make a running server invisible to remote players.

Crossplay backend: relay-based access

Adding -crossplay switches the server to the PlayFab relay. External players can then connect without router port forwarding. The trade-off is a different platform model: without the flag, the Steam backend is limited to Steam users; with it, players on supported platforms can use the crossplay backend.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Crossplay does not repair an invalid script, a missing world, or a server that never reaches Game server connected. Choose it after confirming that the process starts, especially when router access is the only remaining obstacle.

Rank #4
Valheim Boar Loves You Raglan Baseball Tee
  • Valheim Boar Loves You quote. A perfect design for fans of the best selling Viking game.
  • An amazing and unique design which is also perfect as a gift.
  • Lightweight, Classic fit, Double-needle sleeve and bottom hem
Choice Platform reach Router requirement for outside players File and network control
Steam backend Steam users Forward the configured port and port+1; allow the server through the host firewall Direct control over the local process, ports and files
Crossplay backend Players on supported crossplay platforms Router forwarding is not required because connections use the relay Less dependence on inbound home-network configuration, while the local script and saves remain under your control

Read a persistent log instead of guessing

A console window that closes immediately hides the first useful error. Add -logFile to write output to a file in a directory the server account can write. Then make one change at a time.

  1. Set a distinct log-file path and restart the copied script.
  2. Record whether the process stays open and whether Game server connected appears.
  3. Note the first error, not merely the last line printed before exit.
  4. Write down the executable path, -world value, -savedir value, base port and backend selection.
  5. Change one variable, restart, and compare the new log with the previous attempt.

Changing the port, world and save directory simultaneously can turn one clear error into several unrelated symptoms. A short, dated log for each attempt makes it possible to undo the last change and identify the actual cause.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fixes for the most common symptoms

The server window closes as soon as it opens

  • Confirm that the dedicated-server tool is installed and that the copied script still points to its executable.
  • Run the script from the server’s installation directory.
  • Check for a malformed quote, missing value or misspelled argument.
  • Verify the password length, numeric port and writable save directory.
  • Add -logFile, restart, and inspect the first error after the process exits.

The server starts a new world instead of the old one

  • Compare the exact -world spelling with the existing world name.
  • Check whether -savedir points to the directory containing the old files.
  • Compare that directory with the documented Windows or Linux default if you did not intend to relocate saves.
  • Stop before deleting anything; test with a separate world name if necessary.

The log says the world cannot be found

Usually, either the name is wrong or the server is reading a different save root. Correct the name and save path as a pair, then restart. A world file in your personal default directory is not used when -savedir directs the server elsewhere.

The server says it started, but nobody can find it

Find Game server connected in the log first. If present, treat the issue as reachability:

  1. Identify whether -crossplay is present.
  2. For Steam, forward the configured port and port+1 and allow the executable through the host firewall.
  3. For crossplay, confirm that the flag is present and that players are using a supported platform path.
  4. Check that the server name and public-listing value are the ones you intended.

It worked until an update

Compare the edited copy with the newly restored stock script. Steam updates can reset the original file, so your custom -world, -savedir, port or backend flag may simply be absent. Reapply the arguments to your personal copy and keep that copy outside the file that Steam replaces.

Best Value
Valheim Viking Norse Mythology Unisex Gaming T-Shirt
  • Gaming Inspired Design
  • Gaming and Geek Inspired
  • Lightweight, Classic fit, Double-needle sleeve and bottom hem
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choose between home hosting and managed hosting

Self-hosting gives you direct access to scripts, worlds, logs, ports and backups, but you maintain the operating system, updates, firewall, router and recovery process. A managed Valheim host can be useful when the process must remain online without relying on a home computer, but you are entrusting someone else with updates, storage and backups.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Decision factor Home-hosted dedicated server Managed server
Startup control You edit the launch script and diagnose logs directly The provider supplies a panel or managed startup configuration
Router work Required for Steam-backend external access; avoided with crossplay relay Usually handled in the provider’s network, subject to its implementation
Files and worlds Direct access to saves, permissions and custom directories Access depends on file tools and the provider’s policies
Updates and recovery You schedule updates and maintain copies The provider may automate updates and backups; verify what is actually included
What to verify before signing up Not applicable Current Valheim support, crossplay support, backup frequency, retention and program terms

Do not move a world to a managed service until you have a known-good copy. Confirm where the service stores saves, which account owns the files, how often backups run and how you can download a complete world before changing the production server.

Use Valheim’s backup intervals as part of maintenance

Iron Gate’s 2024 guide lists a default save interval of 1,800 seconds (30 minutes). It also lists a default short-backup interval of 7,200 seconds (2 hours) and a long-backup interval of 43,200 seconds (12 hours). These are scheduled defaults, not a substitute for a separate copy that you control.

  • Keep the launch script copy with your intended arguments.
  • Back up the world and permission files before updates or migrations.
  • Record the active -savedir so a backup contains the files the server actually uses.
  • After an update, verify the script, world name, save path, port and backend before players join.
  • Retain at least one offline or separately stored copy so a bad update or accidental overwrite does not remove every recovery point.

A repeatable recovery sequence

When you need the shortest reliable path from failure to a working server, follow this order:

  1. Stop every old server process so two instances are not competing for the same files or ports.
  2. Open the Valheim Dedicated Server installation folder and make a fresh copy of the supplied launch script.
  3. Restore a known-good executable path and run the copy from that folder.
  4. Validate -name, -world, -password, -port, -public, -savedir and, if used, -crossplay.
  5. Confirm that the world exists under the selected save directory and that the service account can read and write there.
  6. Add -logFile and restart with only those corrections.
  7. Wait for Game server connected. If it does not appear, remain in startup troubleshooting and use the first logged error.
  8. Once it appears, troubleshoot discovery separately: Steam requires the selected port and port+1 forwarded and the host firewall opened; crossplay uses the relay and does not require router forwarding.

This sequence preserves the world, limits variables to one change at a time and tells you exactly when to switch from application troubleshooting to network troubleshooting.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Bestseller No. 2
Popular Trending Survival Viking Video Computer Game Laminated Sticker gift perfect for laptop, kindle, pc, tumbler, tablet and more Norse God Odin Troll Raven (Valheim)
Popular Trending Survival Viking Video Computer Game Laminated Sticker gift perfect for laptop, kindle, pc, tumbler, tablet and more Norse God Odin Troll Raven (Valheim)
Viking Game laminated laptop stickers All approx 3"-4" in length; Laminated, Not UV Proof. Will fade in sun. Best used indoors.
$4.99
Bestseller No. 3
Valheim The Bees Are Happy Video Game Inspired Unisex Tank Top
Valheim The Bees Are Happy Video Game Inspired Unisex Tank Top
Gaming Inspired Design; Geek Culture; Lightweight, Classic fit, Double-needle sleeve and bottom hem
$19.99
Bestseller No. 4
Valheim Boar Loves You Raglan Baseball Tee
Valheim Boar Loves You Raglan Baseball Tee
Valheim Boar Loves You quote. A perfect design for fans of the best selling Viking game.; An amazing and unique design which is also perfect as a gift.
$23.99
Bestseller No. 5
Valheim Viking Norse Mythology Unisex Gaming T-Shirt
Valheim Viking Norse Mythology Unisex Gaming T-Shirt
Gaming Inspired Design; Gaming and Geek Inspired; Lightweight, Classic fit, Double-needle sleeve and bottom hem
$17.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.