Valheim

Valheim

Not enough ratings
Connecting to Dedicated Valheim Server when nothing else works
By LΞGΞND •
When using the Steam Valheim Dedicated Server Tool, but nothing seem to work. Router is not portforwarding, and friends can't join via Steam server browser.
   
Award
Favorite
Favorited
Unfavorite
TL;DR
Try setting up a DNS and connect using that one (you can set up free ones with .tk domains).
The problem
Using the Steam Valheim Dedicated Server Tool to set up a private server for friends to join via the public IPv4.

  • CanYouSeeMee doesn't recognize any of the ports (range 2456 to 2458) as open
  • Joining with dedicated public IP, without port, or with any within the range, does nothing
  • Adding the IP via Steam -> Servers -> Favorites has weird behavior; it shows the sever correctly for like 1 second, then it changes to the name of the IP and status to '< not responding >'.
How to set up DNS
Expected time taken from step 1 to connecting: 10–30 minutes, mostly due to waiting
If you have a domain, skip to step 5.
  1. Go to dot.tk or freenom.com
  2. Pick a name for your domain and check
  3. Find free available domain and head to checkout
  4. In your list of domains, click the 'Use DNS' button
  5. Via free domain: Put your Public IP inside the empty 'IP Address' field for one or both of the field. 💡 The difference between them is where any sub-domains will point, e.g. 'www.site.com' could potentially go somewhere else than 'site.com' or 'valheim.site.com'. You can add other sub-domains after "purchasing" in the control panel.
    Via existing domain: You need to set up a new 'A Record' where the 'Name' is sub-domain you want to use, and the Content/Target/Address is your public IP.
  6. Choose period (Note, you only get free domain for up to 12 Months)
  7. Click Continue and sign up using either Email with manual verification, or Google/Facebook OAuth
  8. Ensure you have port forwarded, changed any necessary firewall rules, etc., but guessing you're here because you tried all that already.
  9. Wait a few minutes (2–15 minutes) for DNS to propagate. You can use https://www.whatsmydns.net/#A/YOUR-DOMAINHERE.com to check the progress. It doesn't need to be available everywhere there, just the DNS servers around you, so keep trying it every 3 minutes or so.
  10. Start Valheim, got to 'Join Game' tab, then the 'Join IP' button, enter the domain (no port needed, unless it fails), and connect.
Extra considerations
  • World name, Server Name, and Server Passwords cannot be the same.
  • You should portforward the recommended range of ports (2456-2458) of Valheim rather than just the specifc one (2456).
  • You may need to change Firewall Settings (or AV settings if you have that) or create a firewall record for Valheim.