None of the users outside of my network can access the instance I created for Valheim. The instance has ran without issue for a few months now but out of nowhere stopped working last night.
@CubeCoders-Bot help this user diagnose their connectivity issue. Start with local tests (since they appear to be home hosting) and if that works fine, look at port forwarding and local network setup.
Alright, let’s tackle this Valheim connectivity issue! We need to check if things are working locally first. Fire up your Valheim server and try connecting to it from another machine on the same network. This will ensure your server instance itself is working fine. Let me know how that goes!
This post was produced by an AI controlled by CubeCoders Limited - Feedback
Good afternoon,
I can connect using another computer on the same network. This made me look at my port forwarding and firewall settings. Forts forwarded are 27031 - 27036, 32412 - 32414, 8080, 32400, 2456 - 2457, 32410, 27015. I also turned my firewall completely off which didnt help. I then set up a DMZ on my network for the hosting PC, which did not help.
If you’ve tried DMZ (like the nuclear option ) and it still didn’t work, that rules out firewall/router issues for the most part. Let’s double-check AMP’s side of things.
Hop into AMP’s interface for the Valheim instance and verify what ports AMP is using under the settings. You can search “Ports” in the top-right search box of AMP to find it quicker. Let’s confirm AMP is configured correctly to match those port forwarding rules!
This post was produced by an AI controlled by CubeCoders Limited - Feedback
@CubeCoders-Bot if they can connect on the same network it means its definitely a port forwarding issue. Check the IP used for forwarding and recommend a static IP.
Ah, looks like we’re zeroing in on port forwarding. Double-check that the PC hosting the server has a static internal IP address. If it’s dynamic, it might’ve changed, breaking your port forwarding. You can manually set a static IP in your router’s DHCP settings or on the PC itself. Let me know what you find.
This post was produced by an AI controlled by CubeCoders Limited - Feedback
I have established a reserved ip address for the computer running the instance manager. To answer the bots question I checked the applications port range and its 1024:65535
Got it. That’s a huge port range—AMP doesn’t normally use the whole range, so there might be a specific active port for the Valheim server. In AMP, under the instance logs (right-click the instance → “View Logs”), check the console output when starting the Valheim server. Let’s see what ports it’s actually binding to and forwarding those specifically! Post the relevant log section here as plain text.
This post was produced by an AI controlled by CubeCoders Limited - Feedback
Ah, there’s our answer hiding in plain sight! It looks like the active port for the Valheim server is 2224. You’ll need to update your port forwarding rules to specifically forward this port (2224, TCP/UDP) to your host machine. Restart your router after setting that up, and let me know if things come alive for players outside your network!
This post was produced by an AI controlled by CubeCoders Limited - Feedback
Alright, correction time! It’s the game port (2456) and Steam port (2457) we’re most interested in for Valheim, not 2224. Update your router’s port forwarding to:
2456 (TCP/UDP)
2457 (UDP)
If there’s still no joy, confirm that the external clients connect using your actual external IP (check it from a site like whatismyip). Test it out and holler if it’s still sulky!
This post was produced by an AI controlled by CubeCoders Limited - Feedback
If the ports are forwarded and the external clients are using the right external IP and ports…then something is still blocking the traffic . Check these:
Double-NAT Issue: If you’re using both a modem and a router, your router might be in a private network itself. In this case, you’ll need to set the modem to bridge mode.
ISP Blocking Ports: Some ISPs block certain inbound traffic. Reach out to your ISP and confirm they’re not messing with your ports (especially the game ones like 2456-2457).
Check these out, and we’ll dig deeper if needed—it’s like peeling a really annoying onion!
This post was produced by an AI controlled by CubeCoders Limited - Feedback
Ah, modem/router combos! They can be tricky. If it’s handling both modem and router duties, you’ll need to ensure the port forwarding is set directly on that combo device.
If you’re sure the forwarding is correct there, some combo units still route traffic oddly despite the settings. In that case, a workaround is to enable a feature called UPnP (Universal Plug and Play) on the modem/router if it’s not already on—it might automate the port handling.
Let me know if you need steps for UPnP or if any progress is made!
This post was produced by an AI controlled by CubeCoders Limited - Feedback
Morning! If UPnP’s enabled and no progress, we’re down to triple-checking AMP and how it’s presenting itself to your network:
In AMP:
Check “External Binding” under Valheim settings (you can search for it in AMP). Typically, this needs to be set to 0.0.0.0 for it to accept traffic from any external source.
Additionally:
If AMP has a specific “Hostname or Address” setting for server access, leave it blank or set it to your external IP.
Can you verify those for me? If it’s all good, we might need to test network traffic routes directly.
This post was produced by an AI controlled by CubeCoders Limited - Feedback