Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › 24/7 server

How to Run a Permanent 24/7 Valheim Server

By Freedom251 Team · · 12 min read

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

Run Valheim Dedicated Server on a computer that stays powered and connected, then launch it with a saved world, password, and the networking mode your players need. A dedicated server keeps the world available when the usual host has closed the game. Install it from Steam’s Tools library, copy the supplied Windows start_headless_server.bat or Linux start_server.sh before editing, and keep your edited copy separate because Steam updates can reset the original.

For the Steam backend, forward the configured port and the next port (the defaults are 2456 and 2457) from your router and firewall to the server computer. For supported cross-platform play, add -crossplay; the PlayFab relay normally removes the need for inbound router forwarding. The server still needs a stable machine, disciplined backups, and a plan for updates and power failures.

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.

What a permanent Valheim server actually is

A permanent server is a Valheim dedicated-server process running independently of a player’s normal game client. The process loads one world, accepts connections while it is running, and saves that world on the server machine. Your friends can therefore play while you are offline, provided the host computer, network connection, and server process remain available.

This is different from opening a world through the regular game client. In a client-hosted session, the world normally disappears from the network when the host exits. A dedicated server moves the world and its availability to an always-on computer or a managed hosting service.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

“24/7” describes availability, not a guarantee that the process can never stop. Operating-system updates, game updates, power cuts, network outages, crashes, and maintenance will still create downtime. The practical goal is an unattended service that starts reliably, keeps its world data safe, and can be restarted or restored without guesswork.

Choose where the server will run

You have two workable models. The official Valheim documentation explains the dedicated-server software and networking, but it does not publish a universal CPU, memory, bandwidth, uptime, or hosting-price table. Treat capacity and cost as decisions that depend on your player count, world activity, mods, location, and provider rather than as fixed Valheim requirements.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Consideration Self-hosted computer Managed hosting
Recurring cost No hosting bill, although electricity, hardware, and an internet connection still cost money. A recurring service charge; official Valheim sources do not publish provider prices.
Setup and maintenance You install the server, maintain the operating system, apply updates, restart the process, and diagnose failures. The provider maintains the underlying machine; you still configure the game, world, passwords, and backups offered by the service.
File and mod control Direct access to scripts, worlds, backups, and any compatible modifications. Depends on the host’s control panel and terms; verify file access and mod support before subscribing.
Network exposure Steam-backend play normally requires forwarding the configured port and the next port. Crossplay can use a relay instead. The provider generally supplies the public network endpoint, but you must confirm which networking modes it supports.
Backup responsibility Entirely yours unless you build a separate copy or backup service. Read the provider’s retention and restore terms; do not assume a hosting snapshot is an independent backup.
Crossplay Use -crossplay for supported non-Steam platforms. Confirm that the host exposes the crossplay option and does not replace it with a platform-specific setting.
Recovery after failure You control the machine and can restore world files directly, but you must perform the recovery. The provider may offer snapshots or replacement instances; recovery speed and retention are service-specific.

A self-hosted machine is usually the lowest recurring-cost route when you already have suitable hardware and can handle administration. A managed service exchanges that maintenance for a recurring bill. Neither model removes the need for a tested world backup.

Requirements and platform limits

  • An always-on host: a Windows or Linux computer, or a managed instance, that remains powered and connected whenever players need access.
  • Valheim Dedicated Server: install it through Steam’s Library → Tools section. The server is a separate tool from the regular game client.
  • A world name, server name, and password: these are supplied as launch arguments. Keep the password private; anyone who obtains it may be able to enter.
  • Storage for live saves and backups: use -savedir when you want world data on a deliberate data volume or backup path.
  • Network control: Steam-backend hosting requires router and firewall work; crossplay uses the PlayFab relay and normally avoids inbound forwarding.

An Xbox console cannot set up a dedicated server, according to Iron Gate Studio’s 2025 crossplay FAQ. Xbox players can join a dedicated server when crossplay is enabled. Microsoft Store players launch the server from the installed Server folder with StartHeadlessServer.bat and should follow the manual included with that installation.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Install the dedicated server and preserve your configuration

Windows through Steam

  1. Open Steam and switch to Library.
  2. Use the library filter to show Tools, then install Valheim Dedicated Server.
  3. Open the installed server directory and locate the supplied start_headless_server.bat.
  4. Copy that file to a separate name before making edits. For example, keep the original as the vendor-supplied template and edit your copy. Steam updates can replace the original script.
  5. Open the copy in a text editor and change the server name, world name, password, port, visibility, and optional save or crossplay arguments.
  6. Run the edited batch file. Leave its server window running; closing it stops the dedicated server.

Linux

  1. Install Valheim Dedicated Server from Steam’s Tools library on the Linux host.
  2. In the server directory, copy the supplied start_server.sh before editing it. Keep your working script separate from the file Steam may update.
  3. Edit the copied script’s argument line with your server name, port, world, password, visibility, backup controls, and (if needed) -crossplay.
  4. Start the script from a terminal and keep the process running. Use your operating system’s service or session-management method if you need it to survive logout and restart automatically after a reboot; the exact service implementation depends on your Linux distribution.

Do not put the password in a publicly shared screenshot, forum post, or repository. If you later change the password, distribute it only to the players you intend to admit.

Build the launch configuration

The supplied scripts already contain the executable invocation. Replace or extend the argument portion rather than inventing a second launcher. A practical configuration uses the documented arguments below:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Argument Example Purpose and qualification
-name -name "My Valheim Server" The name players see for the server.
-port -port 2456 Sets the server’s port. The documented default is 2456.
-world -world "DedicatedWorld" Selects the world save by name. Use a consistent name so you do not accidentally create or open a different world.
-password -password "use-a-private-password" Protects entry. Keep the value private and change it if it is exposed.
-public -public 1 1 advertises the server in the browser. Use 0 to hide it and have players join by IP or code.
-crossplay -crossplay Uses the PlayFab relay for supported cross-platform connections. This normally removes the need for router port forwarding.
-savedir -savedir "D:ValheimData" or a Linux data path Moves world, permission, and related save data to a location you choose. Select a path on storage that is included in your backup plan.
-saveinterval -saveinterval 1800 Sets the save interval. The documented default is 1,800 seconds, or 30 minutes.
-backups -backups 4 Sets the number of automatic rolling backups under the documented policy. The default is four.
-backupshort -backupshort 7200 Sets the short backup interval. The documented default is 7,200 seconds, or two hours.
-backuplong -backuplong 43200 Sets the long backup interval. The documented default is 43,200 seconds, or 12 hours.

For a private Steam-backend server, the key portion of the configuration can look like this inside the supplied script:

-name "My Valheim Server" -port 2456 -world "DedicatedWorld" -password "private-password" -public 0 -saveinterval 1800 -backups 4 -backupshort 7200 -backuplong 43200

For crossplay, append -crossplay to the same argument line. Keep the server’s configured port consistent with the forwarding rule if you are using the Steam backend.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Configure networking: Steam backend or crossplay relay

Steam backend

  1. Choose the port in the launch script. If you make no change, use the documented default 2456.
  2. In the router’s port-forwarding page, create a rule for the configured port and a second rule for port plus one. With the default, forward 2456 and 2457 to the host computer.
  3. In the host operating system’s firewall, allow the dedicated-server traffic corresponding to those same ports and the server application.
  4. Give the host a stable address on your local network, such as a reserved DHCP lease, so the forwarding rule does not point to a different computer after a reboot.
  5. Start the server and test from a connection outside your home network. A test from inside the same network can produce different results because some routers do not support loopback connections.

Iron Gate’s documentation states that the Steam backend uses both the configured port and port+1. The example defaults therefore form the pair 2456–2457; if you choose another base port, forward that number and the next one.

Crossplay relay

Add -crossplay to the launch arguments when players on supported non-Steam platforms need to join. Iron Gate says this mode transmits data through a PlayFab relay and therefore does not require port forwarding for access from outside the local network. The configured port still identifies the server instance, so leave it set consistently in the script and in any management notes.

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

Crossplay changes the connection path; it does not make the server independent of the host machine. The computer must still be running, the process must be active, and the world must be saved correctly.

Make the server discoverable or private

Public browser listing

Use -public 1 when you want the server to appear in the in-game browser. A public listing makes discovery easier but exposes the server name to a wider audience. Keep the password strong and share it only with the intended group.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Private server by address or code

Use -public 0 when the server should not appear in the browser. Players then join using the address or code provided by the server setup. This reduces casual discovery but is not a substitute for a private password or sensible firewall rules.

Join code for crossplay

  1. Start the dedicated server with crossplay enabled.
  2. Open the server’s pause menu and copy the join code, as described in Iron Gate’s crossplay FAQ.
  3. On the joining player’s device, open Join Game → Add server.
  4. Paste the join code and connect using the password supplied by the administrator.

An Xbox player can follow the crossplay join path but cannot create the dedicated server on the Xbox console itself.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Protect worlds with saves and backups

The documented default save and backup settings are designed to provide a rolling recovery window, not an archival system:

Setting Documented default What it means
Save interval 1,800 seconds (30 minutes) The server saves at this interval under the default configuration. Progress made after the last save may be lost if the host fails.
Short backup interval 7,200 seconds (2 hours) Creates the short-cycle backup according to the server’s rolling policy.
Long backup interval 43,200 seconds (12 hours) Creates the long-cycle backup according to the server’s rolling policy.
Backup count 4 Keeps four automatic backups under the documented default policy.

Windows normally stores Valheim world and permission files in %USERPROFILE%/AppData/LocalLow/IronGate/Valheim. Linux normally uses ~/.config/unity3d/IronGate/Valheim. If you set -savedir, use the directory you selected instead of assuming those defaults.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Use a second copy, not only rolling backups

Automatic backups on the same machine help with an accidental in-game change or a damaged current save, but they do not protect against disk failure, theft, ransomware, or a mistake that deletes the whole save directory. Keep an additional copy on offline or separately mounted storage. A simple routine is:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Stop the server cleanly before copying live world files, or use a backup method that guarantees a consistent snapshot.
  2. Copy the world data and the relevant backup files from the configured save directory to storage that is not permanently mounted to the server.
  3. Retain more than one dated copy so a bad save is not the only available version.
  4. Periodically test restoring a copy to a separate location. A backup that has never been restored is an assumption, not a recovery plan.

Document the world name, save path, launch arguments, password-change procedure, and the date of the latest verified copy. This turns an emergency restoration into a repeatable task.

Keep a self-hosted server running continuously

Power and connectivity

The host must stay powered and connected. Disable sleep or hibernation that would suspend the process, and check that the machine reconnects to the network after a reboot. A UPS can bridge brief power interruptions and give the operating system time to shut down cleanly; its capacity and runtime depend on the specific hardware and are not specified by Iron Gate.

Process restarts

Plan how the server starts after a reboot and how it is restarted after a crash. On Windows, keep the edited batch file in a known folder and use the operating system’s startup or service mechanism if you require automatic launch. On Linux, run the copied script through the distribution’s service or session-management tools. Test a deliberate reboot before inviting players, and verify that the correct world opens afterward.

Updates

Steam updates can reset the supplied launcher template, which is why your edited script must be a separate copy. Before updating, record the current arguments and make a fresh world backup. After the update, compare the new template with your working script, reapply only the needed arguments, start the server, and check that players see the expected world. Do not assume an update preserved custom paths or flags.

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.

Access control

  • Use a password that is not reused for another account.
  • Share the password and join code through a private channel.
  • Keep the server private with -public 0 if discovery is unnecessary.
  • Allow only the required server traffic through the host firewall.
  • Restrict operating-system accounts and remote administration to people who maintain the machine.

Troubleshoot by symptom

Symptom Likely cause Action
The server is not visible in the browser. -public 0, a startup failure, or a network path problem. Confirm the process is running, check the server name and password arguments, and use a direct address or join code when the server is intentionally private.
Steam players cannot connect from outside the home network. One of the two required ports is not forwarded, the firewall blocks it, or the router points to the wrong host address. Verify the configured base port and port+1, confirm both router rules target the server computer, and check the host firewall.
Crossplay players cannot connect. -crossplay is missing, the server process is not running, or the join code is stale. Restart with -crossplay, generate a current join code, and have the player use Join Game → Add server.
The wrong world opens or a new world appears. The -world name or -savedir path changed. Stop the server, compare the launch arguments with your documented configuration, and confirm that the expected world files exist in the selected save directory.
Recent progress is missing after a crash. The crash occurred before the next save interval, or the current save was damaged. Check the rolling backups, identify the newest known-good copy, and restore only after making a separate copy of the damaged data.
The server stops after a reboot. The script is not configured to start automatically, the host sleeps, or an update changed the launcher. Run the copied script manually, test the operating-system startup/service configuration, disable unwanted sleep, and compare the script with the latest supplied template.

A practical first-day checklist

  1. Install Valheim Dedicated Server from Steam’s Tools library.
  2. Copy the supplied launcher before editing it.
  3. Choose a stable world name and private password.
  4. Select -public 1 for browser discovery or -public 0 for address/code-only access.
  5. Add -crossplay if supported non-Steam platforms must join.
  6. For Steam-backend hosting, forward the configured port and port+1; with defaults, that is 2456 and 2457.
  7. Set or verify -savedir and record the actual location.
  8. Keep the documented save and backup defaults unless your group has a reason to change them.
  9. Make a separate offline or separately mounted copy of the world data.
  10. Reboot the host, reconnect from an external network, and verify the expected world before calling the server permanent.

What you can and cannot promise players

You can promise that a dedicated server is designed to provide a persistent world without the usual host’s game client remaining open. You cannot promise universal uptime, a fixed hardware requirement, or a particular hosting price from the official documentation. Those depend on the machine, connection, operating system, and—if applicable—the provider’s service terms.

The most dependable setup is therefore specific rather than extravagant: a continuously powered host, a copied and documented launcher, the correct network mode, a private password, and backups stored somewhere the host failure cannot destroy.

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.

24/7 servercrossplayDedicated Serverserver backupsSteamValheim

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.

Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver 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.