Game Knightly
  • GK Featured
    TimeSplitters is being developed by reformed Free Radical Design Studio

    TimeSplitters is being developed by reformed Free Radical Design Studio

    Hitman 3 will not use or import your previous Steam Hitman games

    Hitman 3 will not use or import your previous Steam Hitman games

    Super Mario Bros

    Rare 1985 Super Mario becomes highest sold video game at $114,000

    Ark Survival Evolved background

    5 Best ARK Server Hosting in 2020 | ARK: Survival Evolved Hosting

    USB C rechargeable laptops

    Surface Book 2 & USB C chargeable Laptops: USB type-C charging and portable batteries

    Steam summer sale 2018 june 21st

    Steam Summer Sale is here – June 21st

    Trending Tags

    • News
      • All
      • Featured Articles
      • Free Stuff
      • Game Dev
      • Game Hosting
      • Game Industry
      • Guides
      • Hardware
      • Life Hacks
      • Mobile
      • Mods
      • News
      • PC
      • PC Games
      • Previews
      • Privacy
      • Reviews
      • Software
      • Uncategorized
      • Video
      How to Get Rid of the Blinking Text Cursor in Chrome Issue

      How to Get Rid of the Blinking Text Cursor in Chrome Issue

      Did you know: Alienware made a 49 Inch Ultrawide Monitor in 2008?

      Did you know: Alienware made a 49 Inch Ultrawide Monitor in 2008?

      Swat 4 Game

      How to Set Up the SWAT 4 Unofficial Patch to See Servers in the Game List

      How to Use DDU and NV CleanInstall for a Clean GPU Driver Installation

      How to Use DDU and NV CleanInstall for a Clean GPU Driver Installation

      AW3423DWF Monitor

      AW3423DWF Monitor: How to set 10-bit mode at 165Hz Refresh Rate

      Windows Logo

      Windows Update states “Your version of Windows has reached the end of service” but refuses to update and how to fix it

      Trending Tags

      • Top List
      • Adventure
      • eSport
      • Open World
      • Strategy
      • Sport
      • Console
      • Action
      • RPG
      • Racing
    • Reviews
      Review – Hidden Folks

      Review – Hidden Folks

      Surviving Mars: Empty, like Mars itself.

      Review – Surviving Mars

      Gemcraft: Chasing Shadows

      Review – Gemcraft Chapter 2: Chasing Shadows

      Ember, an interesting world, a boring game.

      Review – Ember

      The Following. The end of the journey, in a huge new area to explore.

      Review – Dying Light: The Following

      Voodoo Garden.

      Review – Voodoo Garden

      Game cover of Dying Light.

      Review – Dying Light

    • Mods
      • All
      • Modding
      Old World Blues Mod

      Taking a Look: Old World Blues Fallout Mod Overview

      Fallout 2 That Mod

      Fallout 2 Mod adds Voice over Audio to over 40 NPCs

      How To Get Adobe Fuse CC models into CK2

      How To Get Adobe Fuse CC models into CK2

    • Free Stuff
      Freebie: Halo – Master Chief Collection

      Freebie: Halo – Master Chief Collection

      Jagged Alliance! Free!

      Freebie: Jagged Alliance 1 – Gold Edition

      Gemcraft: Chasing Shadows

      Review – Gemcraft Chapter 2: Chasing Shadows

      The title screen of the game.

      Freebie: Grounded

      The whole Geneforge Saga, reviewed.

      Review – Geneforge (Original Series)

      Freebie: Prison Architect Free On Steam

      Freebie: Prison Architect Free On Steam

      Freebee: The Flame In The Flood

      Freebee: The Flame In The Flood

    • Hardware
    • Game Dev
    No Result
    View All Result
    • GK Featured
      TimeSplitters is being developed by reformed Free Radical Design Studio

      TimeSplitters is being developed by reformed Free Radical Design Studio

      Hitman 3 will not use or import your previous Steam Hitman games

      Hitman 3 will not use or import your previous Steam Hitman games

      Super Mario Bros

      Rare 1985 Super Mario becomes highest sold video game at $114,000

      Ark Survival Evolved background

      5 Best ARK Server Hosting in 2020 | ARK: Survival Evolved Hosting

      USB C rechargeable laptops

      Surface Book 2 & USB C chargeable Laptops: USB type-C charging and portable batteries

      Steam summer sale 2018 june 21st

      Steam Summer Sale is here – June 21st

      Trending Tags

      • News
        • All
        • Featured Articles
        • Free Stuff
        • Game Dev
        • Game Hosting
        • Game Industry
        • Guides
        • Hardware
        • Life Hacks
        • Mobile
        • Mods
        • News
        • PC
        • PC Games
        • Previews
        • Privacy
        • Reviews
        • Software
        • Uncategorized
        • Video
        How to Get Rid of the Blinking Text Cursor in Chrome Issue

        How to Get Rid of the Blinking Text Cursor in Chrome Issue

        Did you know: Alienware made a 49 Inch Ultrawide Monitor in 2008?

        Did you know: Alienware made a 49 Inch Ultrawide Monitor in 2008?

        Swat 4 Game

        How to Set Up the SWAT 4 Unofficial Patch to See Servers in the Game List

        How to Use DDU and NV CleanInstall for a Clean GPU Driver Installation

        How to Use DDU and NV CleanInstall for a Clean GPU Driver Installation

        AW3423DWF Monitor

        AW3423DWF Monitor: How to set 10-bit mode at 165Hz Refresh Rate

        Windows Logo

        Windows Update states “Your version of Windows has reached the end of service” but refuses to update and how to fix it

        Trending Tags

        • Top List
        • Adventure
        • eSport
        • Open World
        • Strategy
        • Sport
        • Console
        • Action
        • RPG
        • Racing
      • Reviews
        Review – Hidden Folks

        Review – Hidden Folks

        Surviving Mars: Empty, like Mars itself.

        Review – Surviving Mars

        Gemcraft: Chasing Shadows

        Review – Gemcraft Chapter 2: Chasing Shadows

        Ember, an interesting world, a boring game.

        Review – Ember

        The Following. The end of the journey, in a huge new area to explore.

        Review – Dying Light: The Following

        Voodoo Garden.

        Review – Voodoo Garden

        Game cover of Dying Light.

        Review – Dying Light

      • Mods
        • All
        • Modding
        Old World Blues Mod

        Taking a Look: Old World Blues Fallout Mod Overview

        Fallout 2 That Mod

        Fallout 2 Mod adds Voice over Audio to over 40 NPCs

        How To Get Adobe Fuse CC models into CK2

        How To Get Adobe Fuse CC models into CK2

      • Free Stuff
        Freebie: Halo – Master Chief Collection

        Freebie: Halo – Master Chief Collection

        Jagged Alliance! Free!

        Freebie: Jagged Alliance 1 – Gold Edition

        Gemcraft: Chasing Shadows

        Review – Gemcraft Chapter 2: Chasing Shadows

        The title screen of the game.

        Freebie: Grounded

        The whole Geneforge Saga, reviewed.

        Review – Geneforge (Original Series)

        Freebie: Prison Architect Free On Steam

        Freebie: Prison Architect Free On Steam

        Freebee: The Flame In The Flood

        Freebee: The Flame In The Flood

      • Hardware
      • Game Dev
      No Result
      View All Result
      Game Knightly
      No Result
      View All Result
      Home Game Hosting Game Server Guides

      How to set up a Valheim Dedicated Server Guide

      Jimmy B by Jimmy B
      February 12, 2021
      in Game Server Guides, Guides
      0
      Valheim server guide

      Valheim server guide

      0
      SHARES
      0
      VIEWS
      Share on FacebookShare on Twitter

      Setting up a Valheim Dedicated Server can be a difficult process. There are a lot of steps and a lot of places where something could go wrong. However, if you want to avoid paying someone a monthly subscription just to host a server, then setting up your own is a great idea. The following aims to be a comprehensive guide that should (hopefully) answer all questions you have about creating a Valheim Dedicated Server setup.

      Set up a Valheim Dedicated Server

      Before you start, make sure you have some kind of notepad editing tool like Notepad++ and that you’ve enabled the ability to edit file extension types. You can enable file extensions by clicking View in Windows File Explorer and then checking the box that reads File name extensions. Here is a broad overview of the steps you must take to set up a Valheim Dedicated Server:

      1. Forward ports through your router (Ports 2456, 2457, and 2458)
      2. Download Valheim Dedicated Server (through Steam Library or SteamCMD)
      3. Edit a file in the Valheim Dedicated Server with server name, world name, and password
      4. Add your internal IP address to Steam Server list so you can join your own server
      5. Have friends join your server by inputing your external IP address into the Steam Server list
      6. Join the Valheim Dedicated Server and then, if you need to, troubleshoot any problems

      Valheim ports to forward

      The first thing you will need to do is forward the correct ports. This allows your friends to connect externally to your Valheim dedicated server. Depending on your router and setup, this will be different for everyone. Find your router on PortForward.com and follow the steps to forward the following ports: 2456, 2457, and 2458. Depending on your setup, you may be able to forward a range of ports by entering: 2456-2458. You should only need it to be a UDP Protocol.

      It’s also worth noting that you will need to specify to your router which machine on your network will be hosting the server by selecting the machine’s internal IP address. You can find your PC’s internal IP by opening Command Prompt and typing ipconfig and pressing Enter. Your PC’s internal IP address is listed beside IPv4 Address. Depending on your router, your machine’s name might appear instead of its IP address. You can check your PC’s name by searching “About your PC” in Windows and looking for “Device name” under “Device specifications”.

      Download Valheim Dedicated Server via Steam Library

      valheim dedicated server steam library
      You can also download the Valheim Dedicated Server via your Steam Library.

      The first way you can acquire the Valheim Dedicated Server is directly from your Steam Library. This is a good method for those that don’t want to use SteamCMD (more on that in the next section).

      1. Open Steam
      2. Go to Library
      3. In the dropdown box on the top-left, make sure Tools is selected
      4. Search Valheim Dedicated Server and select it
      5. Click Install

      This will install the Valheim Dedicated Server. At this point, you must edit some files in order to actually set up a server for your friends to join.

      To find these local files, perform the following:

      1. Open Steam
      2. Go to Library
      3. Right-click Valheim Dedicated Server, select Manage, and then Browse Local Files

      You will now be looking at your Valheim Dedicated Server folder with several files, including a .pdf from the developers, a valheim_server.exe (you will not be using this), and the start_headless_server.bat (this is important). Now, you will need to edit some files to properly set up the server. But first, I’ll cover how to download the Valheim Dedicated Server using SteamCMD.

      Download Valheim Dedicated Server via SteamCMD

      valheim dedicated server setup guide
      SteamCMD can be used to update programs using command lines.

      The other way to set up your Valheim Dedicated Server is by using the SteamCMD. You can download SteamCMD from the Valve Software Developer site. This is Valve’s command-line version of Steam. This will be used to download, update, and create your Valheim Dedicated Server.

      Credit to Steam user le chevalier for some of the following information.

      Extract the contents of the zipped folder to where you want SteamCMD to be stored. This can be anywhere on your PC.

      Create a .bat file in your SteamCMD folder called update.bat. To do this, create a new Text Document and title it update.bat. It should change from a normal notepad icon to an icon with some gears. Right-click the .bat file and select Edit with Notepad++. Copy in the following code: C:\Users\USERNAME\Desktop\SteamCMD\steamcmd +login anonymous +force_install_dir C:\Valheim +app_update 896660 validate +exit

      You will need to change C:\Users\USERNAME\Desktop\SteamCMD\steamcmd to wherever it is you extracted SteamCMD. For example: E:\SteamCMD\steamcmd

      Change +force_install_dir C:\Valheim to wherever it is you want to install the server. For example: +force_install_dir E:\Valheim_servers

      Save the Notepad++ file and close it. Now, double-click the update.bat file. It will run a script that will download the Valheim Dedicated Server and install it wherever you specified in the above code. Give this a few minutes as it must download and then update the program. When it is completed, you can type Exit and hit Enter to close the SteamCMD.

      Cut the update.bat file and paste it inside your new Valheim Dedicated Server folder. This folder is found wherever you directed it to install in the above code. The update.bat file will be used to update the server whenever the developers release an update. Now, whether you downloaded the Valheim Dedicated Server using SteamCMD or through your Steam Library, you must do the next step.

      Editing the Valheim Dedicated Server file

      valheim start_headless_server file editing
      You will need to edit the start_headless_server.bat. -name will be how your server appears in Steam.

      Whether you used SteamCMD to set up your Valheim Dedicated Server or downloaded it via your Steam Library, you will now need to begin the process of editing your server launch parameters.

      Start by making a copy of the file start_headless_server.bat and renaming it to start.bat. This will preserve the original file.

      Right-click start.bat and select Edit with Notepad++. You will see the following code. You will need to edit the parts on the valheim_server line (Line 9) that are labeled “My server”, “Dedicated”, and “secret” below. Change the words within the quotation marks.

      @echo off
      set SteamAppId=892970

      echo "Starting server PRESS CTRL-C to exit"

      REM Tip: Make a local copy of this script to avoid it being overwritten by steam.
      REM NOTE: Minimum password length is 5 characters & Password cant be in the server name.
      REM NOTE: You need to make sure the ports 2456-2458 is being forwarded to your server through your local router & firewall.
      valheim_server -nographics -batchmode -name "My server" -port 2456 -world "Dedicated" -password "secret"

      What you select for -world is not what people will see when trying to join the server. Instead, the -name is how it will appear in the server list. Pick something you will remember and is otherwise appropriate for your server. The -world name is what you can use to launch any worlds you have created in singleplayer or worlds you were previously hosting using the in-game server hosting, or even worlds your friends have sent to you (more on that below). When you’re done, it should look something like this: valheim_server -nographics -batchmode -name "Sam's Awesome Server" -port 2456 -world "Valhalla" -password "CleverPassword"

      You must also make a password for your Valheim Dedicated Server. The password cannot be in the server or world name and must be five characters long. I recommend making all the entries unique, that is to say, make -name and -world different, too.

      When all the changes are made, save the file and close Notepad++.

      Double-click start.bat to begin setting up the Valheim Dedicated Server. You will notice a Command Prompt box appear and begin scrolling with text. The server creation will be completed when you see Game server connected. This process may take a while depending on your machine.

      At this point, you and your friends will need to add your server to Steam’s server list. This process can cause some problems, so arm yourself with that warning.

      Add your Valheim Dedicated Server to Steam’s Server list

      valheim steam server list
      You will need to add your IP address to Steam Server, at which point you can join. Use the password you wrote in the start.bat.

      Before you begin this part, make sure your Valheim Dedicated Server is running by double-clicking the start.bat you created. Wait for the Game server connected text to appear. Now, this part is different depending on whether you’re hosting the server on your machine or trying to join someone else’s server in a different house (this last one is listed below).

      Open Steam and select View and then Servers. This will open up a new dialogue box where you can browse a variety of servers across Steam.

      Select the Favorites tab. It is here you will need to add your machine’s IP address followed by the port you are using. This is the same port listed in the start.bat file you edited. The default port is 2456.

      Right-click inside the Favorites tab and select Add server by IP address or by clicking Add a server down the bottom right. In this new box, enter your internal IP address followed by a colon (:) and then the port you used in the start.bat. You should have something that looks like this: 192.168.1.7:2456

      You can find your internal IP address by opening Command Prompt (search cmd in Windows or type out Command Prompt) and typing ipconfig and hitting Enter. Your internal IP address is listed beside IPv4 Address and might be something like this: 192.168.1.7.

      This internal IP address is what you will use to connect to your own server. It is also the IP address anyone else on your home network will use to connect to your server. They will do the exact same: adding the IP address to Steam’s server list under “Favourites” along with the correct port.

      To join the server, double-click the server and enter the password specified in the start.bat. You will need to enter the password again when Valheim launches. If the server doesn’t appear, disappears, or will not let you join, check the troubleshooting section below.

      How to get friends into your Valheim Dedicated Server

      For those that want to play with friends who are not on the same network as where the Valheim Dedicated Server is hosted, they will need to connect via a different IP address. For example, if you are hosting the server and your mate in another city wants to play, they will not use your internal IP, they must use your external IP.

      To get your external IP, simply Google “what is my IP” and it will be listed at the top as “Your public IP address”. It might look something like this: 123.456.789.101

      Now, take this external IP address and add on the port you listed in the start.bat file. By default, it is 2456. This will give you a line like: 123.456.789.101:2456

      Now, have your friend (or you, if you’re trying to join someone’s server) open Steam, select View, and click Servers. In this screen, select the Add a server button and input the external IP, a colon (:) and the correct port. There should be no spaces. It should look something like the example above.

      Remember, if your friend is on the same connection as you (in your house), then they must join using your internal IP address. This is listed above in the “Add your Valheim Dedicated Server to Steam’s Server list” section.

      You should see the IP address added to the Favorites list. Now, you can join by double-clicking the server and entering the password listed in the start.bat. Enter the password again when Valheim launches and you’ve selected your character.

      If this does not work, your friend may be able to search for your server using the in-game search function. They will need to check “Community” not “Friends”. Put in the first part of the server name to help refine the search results.

      Valheim Dedicated Server not appearing

      Sometimes the Valheim Dedicated Server will not appear or it might say < not responding > under the Game column. This always seems to happen. First, you may need to give Steam a few minutes. For some reason, waiting 5 minutes can solve the problem.

      Alternatively, what you can do is click another tab (like History or Friends) then click back to Favorites – you may see your server flash on screen before disappearing. Double-click it before it disappears.

      A dialogue box should appear requesting a password. Enter the password you specified in the start.bat and click Connect. Valheim should launch and you should select your character. You will then be asked for the password a second time.

      This process is the same whether you’re trying to join your own server on your own network or for someone trying to join a server on an external network.

      As mentioned above, if you cannot join via Steam, you can try searching using Valheim’s in-game server search. Make sure to check “Community” not “Friends”. Type in the first part of the server name to help refine the results.

      Valheim Dedicated Server troubleshooting

      As with all things related to setting up a server, sometimes you can run into issues. Here are some solutions I found to be helpful that may solve the problem you are having. If this does not help, make an account and let me know what your problem is in the Chatty thread below and I’ll endeavour to help. If you’ve found some solutions online, let me know and I’ll update this guide with other useful information!

      One potential fix is to change the port listed in the start.bat file. By default, this port is 2456 but it can be changed to 2457 or 2458, provided these have all been properly forwarded in your router. You will then need to ensure this port change is reflected in the Steam Server list where you entered your IP address.

      Another fix is to ensure that Valheim has been allowed access through Windows Defender Firewall:

      1. Search Windows Defender Firewall and open it
      2. Select Allow an app or feature through Windows Defender Firewall
      3. Click Change settings
      4. Ensure all instances of Valheim have both Private and Public boxes checked
      5. Click Okay to finish

      You might also need to ensure the ports are getting through your Windows Firewall. This can be done from within the Advanced Settings of Windows Defender Firewall:

      1. Search Windows Defender Firewall and open it
      2. Select Advanced settings
      3. Select Inbound Rules
      4. Choose New Rule…
      5. Select Port
      6. Select UDP and Specific local ports and type: 2456-2458
      7. Select Allow the connection
      8. Check all three boxes for Domain, Private, and Public
      9. Enter a name for the new rule (Valheim) and a description if you want and click Finish

      How to host other worlds in your Valheim Dedicated Server

      It is possible to host worlds you have created in single-player, worlds that were created using the in-game multiplayer creation system, and even worlds your friends have created and you were playing on. The process is simple and only requires moving a couple of files around and changing the name in your server start.bat file.

      To do this, you will need to locate your Valheim world files. These are found inside the AppData location on your PC, not inside the Valheim Steam game folder. To find this location, search %AppData% in the search box on your Windows toolbar or by opening Run and typing it into that.

      This will open the Roaming folder inside AppData. Back out of this folder and follow this pathway to find your Valheim world saves: AppData\LocalLow\IronGate\Valheim\worlds

      In here you should see all the worlds you have created in Valheim. There will be a .db and a .fwl file. To host one of these worlds on your server do the following:

      1. Right-click the start.bat file and select Edit with Notepad++
      2. Change the -world to the title of the world inside the worlds folder you wish to host
      3. Save and close Notepad++
      4. Double-click the start.bat file

      By simply changing the -world parameter, you are directing the server to fetch the world that matches that name.

      This is also useful in hosting a friend’s world they have created. However, you will need to have your friend send you the two files (.db and .fwl), either by email, Google Drive, Dropbox or some other FTP. Save the files inside the worlds folder and then edit the start.bat file as above.


      There is certainly a lot to cover when setting up a Valheim Dedicated Server. Hopefully, the above has ensured your server is up and running, and friends are able to join you for an adventure across the 10th world. If you have any problems or note any errors, please let me know in the Chatty thread below. In the meantime, take a look at our Valheim guides and walkthroughs page for more helpful articles.

      If setting up your own server is too much work for you, then please consider renting a server from Citadel Servers – They setup everything for you and offer over 20 locations worldwide, i would highly recommend them

      Tags: Server Setup GuideValheimValheim dedicated server guide
      Jimmy B

      Jimmy B

      How to Get Rid of the Blinking Text Cursor in Chrome Issue
      Software Fixes

      How to Get Rid of the Blinking Text Cursor in Chrome Issue

      by Jimmy B
      May 30, 2025
      0

      If you've noticed a blinking text cursor appearing everywhere in Google Chrome—even on non-editable elements—you might be dealing with an...

      Read more
      Did you know: Alienware made a 49 Inch Ultrawide Monitor in 2008?

      Did you know: Alienware made a 49 Inch Ultrawide Monitor in 2008?

      May 25, 2025
      Swat 4 Game

      How to Set Up the SWAT 4 Unofficial Patch to See Servers in the Game List

      May 11, 2025
      How to Use DDU and NV CleanInstall for a Clean GPU Driver Installation

      How to Use DDU and NV CleanInstall for a Clean GPU Driver Installation

      May 10, 2025
      AW3423DWF Monitor

      AW3423DWF Monitor: How to set 10-bit mode at 165Hz Refresh Rate

      May 10, 2025
      • Make Garry’s Mod Run faster with launch options

        Make Garry’s Mod Run faster with launch options

        1 shares
        Share 0 Tweet 0
      • People Are Angry That They Can’t Keep Cyberpunk 2077 after getting a refund

        0 shares
        Share 0 Tweet 0
      • Crusader Kings 3 debug mode, console commands and cheats

        0 shares
        Share 0 Tweet 0
      • Review – Warhammer 40,000: Inquisitor – Martyr and Prophecy

        0 shares
        Share 0 Tweet 0
      • How to get better prices on steam

        0 shares
        Share 0 Tweet 0
      How to Get Rid of the Blinking Text Cursor in Chrome Issue

      How to Get Rid of the Blinking Text Cursor in Chrome Issue

      May 30, 2025
      Did you know: Alienware made a 49 Inch Ultrawide Monitor in 2008?

      Did you know: Alienware made a 49 Inch Ultrawide Monitor in 2008?

      May 25, 2025
      Swat 4 Game

      How to Set Up the SWAT 4 Unofficial Patch to See Servers in the Game List

      May 11, 2025

      About Us

      Game Knightly is a PC Game focused news and blogging website by a small team of writers and contributors, aiming to provide a balanced stream of industry news, focused on various parts of the industry including: reviews, hardware, software and modding.

      Categories

      • Drivers
      • Featured Articles
      • Free Stuff
      • Game Dev
      • Game Hosting
      • Game Industry
      • Game Server Guides
      • Guides
      • Hardware
      • Hardware History
      • Life Hacks
      • Mobile
      • Modding
      • Mods
      • News
      • PC
      • PC Games
      • Previews
      • Privacy
      • Resolutions
      • Resolutions
      • Reviews
      • Software
      • Software Fixes
      • Uncategorized
      • Video

      Tags

      2k-publisher 2018 ark survival evolved china classic deals DLC Epic Games Fallout First Person First Person Shooter fps free free-to-play GOOGLE hardware humble-bundle indie isometric jurassic park limited-time microsoft mods multiplayer nintendo nvidia Open World Paradox Paradox Interactive pc RPG Sale Steam Strategy survival trailer turnbased Turn Based Valheim valve video Warhammer warner bros. entertainment Windows 10 Windows 11
      • About
      • Advertise
      • Game Developers and PR
      • Privacy & Policy
      • RSS
      • Contact

      © 2021 Game Knightly - PC Gaming News, reviews and previews since 1066 - Knightly Media.

      No Result
      View All Result
      • GK Featured
      • News
      • Reviews
      • Mods
      • Free Stuff
      • Hardware
      • Game Dev

      © 2021 Game Knightly - PC Gaming News, reviews and previews since 1066 - Knightly Media.

      Welcome Back!

      Login to your account below

      Forgotten Password?

      Retrieve your password

      Please enter your username or email address to reset your password.

      Log In

      Add New Playlist