Valheim dedicated server hosting | Rock Paper Shotgun

Valheim has taken the survival game house by storm lately, breaking new concurrent player records each few days. Lots of the attraction comes all the way down to how simply you’ll be able to arrange your individual Valheim dedicated server and play along with your folks.

This Valheim dedicated server hosting walkthrough will clarify methods to flip your present world right into a dedicated server, methods to port-forward and permit ports by way of your firewall, methods to make your self admin, and the way your folks can be a part of your sport as soon as it is arrange.


On this web page:

How to arrange a Valheim dedicated server

To arrange a Valheim dedicated server, here is what you could do:

Download and set up the Valheim Dedicated Server instrument on Steam (you may have it you probably have Valheim). Right-click the instrument in your Steam library and go to “Manage -> Browse Local Files”.

In the window that seems, discover the file named “start_headless_server”, make a backup of it, after which open it up. Find the road that begins with “valheim_server” and alter the next components (every contained in the quotes):

  1. “-name”: enter a reputation on your server.
  2. “-world”: enter a reputation on your world that does not comprise phrases from the server identify. If you are utilizing a earlier world, enter that world’s identify.
  3. “-password”: enter a password that does not comprise phrases from both of the above.

These are the three sections you may want to vary within the “start_headless_server” file to arrange your individual customized Valheim dedicated server.

Now save and exit the file.

How to show your present world right into a dedicated server

To flip your present Valheim world right into a dedicated server, there are a few further steps to take at first of the setup course of.

Open up Windows Explorer and kind “%userprofilepercentappdatalocallowirongatevalheim” (with out the quotes) into the search field.

In the worlds folder you may see a number of recordsdata for every of your worlds. Make a word of the precise identify of the world you want to use on your dedicated server, since you’ll have to enter that identify precisely subsequent to the “-world” tag within the above part.

If you are going to run the server on a unique machine, then you could copy all the recordsdata associated to your required world, and paste it into the identical worlds folder on that machine.


A screenshot of the worlds folder for Valheim.
These are the world recordsdata you may want to search out and replica over if you wish to run an current world on a brand new machine.

Valheim Port-Forwarding and IP Address defined

In order for gamers who aren’t in your individual home to begin enjoying in your dedicated server, you could do two extra issues:

  1. Log into your router account and arrange Port Forwarding for ports 2456-2458.
  2. Allow ports 2456-2458 by way of your machine’s Firewall.

Here’s methods to arrange Port Forwarding:

  • Find out your default gateway IP Address. If you do not know it, hit Start+R, kind “cmd” and hit Enter. Then within the window that seems, kind in “ipconfig” and hit Enter. Next to “Default Gateway” is the IP Address you want. For most individuals it’s “192.168.0.1” or “192.168.1.1”.
  • Open up a browser window and kind on this IP handle, then hit Enter to convey up your router instrument.
  • Login to your router after which arrange Port Forwarding for the ports 2456-2458, for each TCP and UDP. The course of is determined by your router so you should definitely search on-line for methods to port-forward in your particular community and router kind.

A screenshot of part of the process of creating a new rule in Windows Firewall to allow Valheim dedicated server hosting.
This is what you may have to enter when creating a brand new rule for letting Valheim’s dedicated server ports by way of your Firewall.

Here’s methods to let these ports by way of your Firewall:

  • Hit Start+R and kind in “wf.msc”, then hit Enter to convey up your Firewall Advanced Settings.
  • Click on “Inbound Rules”, then right-click it and choose “New Rule”.
  • Select “Port”, then “TCP”, and kind within the particular native ports “2456-2458”. Select “Allow the Connection”, maintain all of the containers on the following display screen ticked, and provides the rule a reputation and click on Finish.
  • Repeat the method to arrange one other rule for a similar ports, however this time utilizing “UDP” as a substitute of “TCP”.

Now you’ll be able to run the Valheim Dedicated Server instrument. Wait till a message seems within the console that claims “Game Server Connected”. You and your folks can now be a part of the server.


“I can not run the Dedicated Server instrument!”

If you are operating the server on a unique machine than you are enjoying the sport on, then do not run the instrument by way of Steam itself. Just discover that “start_headless_server” file once more and double-click it to run the server. This means you will not run into points with Steam considering you are operating two video games without delay on the identical account. I’d recommend making a shortcut for that file in your desktop for simple entry.


How to affix a Valheim dedicated server

To be a part of a Valheim dedicated server, choose the character you want to use, after which underneath the “Join Game” tab, choose “Join IP”, after which kind within the IP Address and the Port, separated by a colon. For instance: “192.168.0.99:2456”.

Be conscious: in the event you’re on the identical community (i.e. in the identical home) because the server, you could use the precise inner IP Address of that machine; and in the event you’re distant, then you definately’ll want to make use of the exterior IP Address.

To discover out your inner IP Address, follow the steps above for locating out your default gateway handle, however this time use the IP Address subsequent to “IPv4 Address”.

To discover out your exterior IP Address, simply go to What Is My IP Address and use the handle it prints for you.


A Valheim screenshot of an extensive settlement with multiple houses, walls, and farms, seen from an aerial perspective.

How to make your self admin in your dedicated server

You will not be capable of use Valheim console commands and cheats on a dedicated server till you make your self admin. To make your self (or one other participant) admin, here is what to do:

While logged into the server, hit F2 and make an observation of your participant ID quantity. It’s a protracted quantity subsequent to your participant identify. Then stop the sport and cease the server.

Open up Windows Explorer and kind “%userprofilepercentappdatalocallowirongatevalheim” (with out the quotes) into the search field. Then edit the “adminlist” textual content file and paste in your participant ID quantity onto a brand new line. Then save and stop.

Now begin the server again up and login. You ought to now be capable of use console instructions like “save” to force-save your game, and so forth.


Why arrange a Valheim dedicated server?

There are a couple of explanation why you could need to arrange a Valheim dedicated server. The essential attraction is that in the event you’re operating a dedicated server, you will not have to ask your folks each time you set it up, and your folks can be a part of the sport and play even when you your self should not enjoying Valheim.

You also can maintain the server operating for so long as the machine you are operating it on stays energetic. Time is paused when no gamers are on the server, so that you needn’t fear about time passing and your builds getting destroyed whereas nobody is on-line.

Another massive advantage of organising a dedicated server for Valheim is which you can host the server on one machine and play on one other machine, quite than having one machine do all of the work (although it’s also possible to run the dedicated server and play on the identical machine if you want).


How to play Valheim multiplayer and not using a dedicated server

If you do not need or have to trouble with organising a dedicated server and also you simply need to play an informal Valheim sport along with your Steam pals, that is very simple to do:

Select your character in-game, after which choose the world you want to divulge heart’s contents to multiplayer. Select “Start Server” to make it a multiplayer sport. You can both simply begin every now and then invite your folks by way of the Steam overlay (right-click their identify and choose “Invite to Lobby”, or you can also make the world a group server.

To make the world a group server, you may have to tick each “Start Server” and “Community Server”, after which add a password in order that solely your folks can be a part of. Once the server is up your folks ought to be capable of discover your server underneath the “Join Game” tab by filtering to indicate pals solely.


And that is every little thing there may be to find out about organising a Valheim dedicated server in a single web page. We hope you discovered every little thing you wanted right here. Now why not check out our take a look at whether or not you ought to be running Valheim using Vulkan for further efficiency advantages?

Related Posts