Forgot password
Enter the email address you used when you joined and we'll send you instructions to reset your password.
If you used Apple or Google to create your account, this process will create a password for your existing account.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Reset password instructions sent. If you have an account with us, you will receive an email within a few minutes.
Something went wrong. Try again or contact support if the problem persists.
Image via Iron Gate AB

How to fix Failed to Connect Error in Valheim

Here's how to fix this frustrating error code in Valheim.

To fix the failed to connect error in Valheim, you will first need to make sure both your server and game are fully updated.

Recommended Videos

Chances are, what is causing it is that you or the server has an outdated version of the game. If that doesn't help, try verifying the files by going into the Steam library. In Steam Library right-click on Valheim and click properties as shown below.

Doing so will cause the properties tab for Valheim to appear as pictured below. When this tab pops up, click local files. Under local files, you can verify the files for Valheim by clicking verify the integrity of game files as shown below.

Clicking verify the integrity of game files will have Steam run a check to see if you are missing any game files. So press start and let Steam do its job. If you are missing anything, Steam will automatically download the missing files.

After the download is finished, retry joining the server. With luck, your failed-to-connect error will go the way of the dinosaurs. However, if one asteroid wasn't enough, you can always try updating your server by playing around with SteamCMD.

Related: Valheim Guide: How to ride a lox with a lox saddle?

How to update your Valheim server using SteamCMD

Install SteamCMD and create a .txt file in the Valheim source files. Label this .txt file Update and change the file to a .bat. Next, add your SteamCMD folder location followed by login anonymous, force_install_dir, then the location of the Valheim folder, app_update 896660 validate.

Save the text and then double the file to run it and update your server, and once it's updated, fire it up and see what happens. You can also try adding a launch option of +connect your server IP and port to the game.

To do this, right-click Valheim, click properties, and find launch options at the bottom of the general tab. Paste +connect and then add your server IP followed by your server port.

For more awesome Valheim guides, check out our entire Valheim catalog.


Pro Game Guides is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more about our Affiliate Policy
We have upgraded our commenting platform! Existing comments will be imported over the next few weeks.
Author
Image of Andrew Vaughan
Andrew Vaughan
Andrew Vaughan is a Contributing Writer at Pro Game Guides that has written guides on popular RPGs and FPS survival titles for several years. Andrew Vaughan specializes in survival and roleplaying games and has been a lifelong gamer.
twitter