Start here
01Step 1: check the server start↓02Step 2: Steam backend and ports↓03Step 3: crossplay backend↓Step 1: check the server start
- Wait for the Game server connected message in the console window. Only then is the server ready.
- Note the values for -name, -port and -public in your start file and whether -crossplay is set. Check: without that message, the problem is the server start, not the network.
Step 2: Steam backend and ports
- Without -crossplay, Valheim uses the base port and the following port, 2456–2457 by default. This range must be forwarded on your router to the server PC.
- If Windows Firewall prompts on first start, Iron Gate says to allow communication for all offered networks. Check: a player outside your home network can join via public IP and port.
Step 3: crossplay backend
- With -crossplay, no port forwarding is needed because the connection uses a relay. Joining works via public IP and port, join code or server list, but according to Iron Gate not via local or loopback IP.
- Check: if it works from outside but not from your own network via local IP, that is expected behaviour.
Step 4: visibility and access lists
- With -public 0 the server does not appear in the list and can only be reached by IP. Also check permittedlist.txt: an entry there locks out every other player.
If nobody can connect
- Compare client and server versions; different versions prevent joining. Then test with a copy of the world without mods.
- If you run several servers behind one public IP, each needs its own port, even with crossplay.
Related guide
Sources and current status
Frequently asked questions
Does crossplay need the same router forwarding?
No. According to Iron Gate, crossplay uses a relay and needs no port forwarding.
Why can I not connect via 127.0.0.1 with crossplay?
The guide says the crossplay backend does not support joining via local or loopback IP. Use a join code or the public IP.
Should I turn off the firewall entirely?
No. Allow Valheim to communicate specifically when Windows asks.
How do friends find my server without the server list?
With -public 0, only via your public IP and port. With -crossplay, also via the join code the server shows.
Did this fix help?
Your answer helps us improve these troubleshooting steps.