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.

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.

Follow us on Twitter and Facebook to get updates on your favorite games!

About the Author

Howdy Folks! My name is Andrew, and I have been playing games for decades and only just started writing about them. My personal favorites are ARPGs and C&C style RTS games. I also specialize in writing guides for a lot of popular RPGs. Follow me on my account on Twitter at @HighwaymanSlade to see retweets of my latest works and thoughts about games.
Find Andrewvaughan On: Twitter

Recently Updated Valheim Posts

Leave a Comment

Comments are on moderation and will be approved in a timely manner. Please read the following rules before commenting:

  • All comments must be on topic and add something of substance to the post
  • No swearing or inappropriate words
  • No asking or begging for anything free
  • Do not attempt to start a poll in the comments
  • Comments in all CAPS will be removed
  • We reserve the right to remove a comment for any reason
  • Do not impersonate a staff member or influencer

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.