Server connection help.

Here's my problem:
1. I have a Valheim server started and running on my local PC.
2. When I play Valheim, I play on the same PC.
3. The problem is, I cannot use the IP:Port to join the server, but my friends can.
4. When I try to join via IP:Port, it always says failed to connect.

When I start the game client, I cannot use "Join IP". I can start the game normally, by clicking "Start Server" and entering the password, but I have a feeling that the world I enter is a local copy (because none of the buildings my friends have made are there).

Since the server is running on the same PC that I play on, could this be why I cannot join via IP:Port? Because the request is coming from the same IP?

Thanks for any help and advice!

UPDATE:

Just to be clear, my friends cannot see my server in the browser and have to join via IP:Port. However, in my .bat startup for the server, I have -public set to 1, so it _should_ be visible, but it's not. I cannot see my server in the browser, either.

So, it's weird that my server isn't visible in the browser, my friends have to join via IP:Port, and I cannot join via IP:Port when running client from the same PC as the server.
2:13 pm, September 30, 2021
Navigator 0 comments 0 likes

Takama replied to Server connection help. September 30, 2021 @ 6:56:16 am PDT

You should definitely be able to join your own server by using your ip and port, especially if it works for your friends. I'm guessing your issue is then your own firewall on your pc, that may be blocking the access.

As for the server browsing, it may be the case that you forgot to forward port+1, I think this one is the one used for listing the server.

Finally, if the server is on the same computer you're playing on, just join using localhost : 127.0.0.1:PORT
2:13 pm, September 30, 2021
0 comments 0 likes

Navigator replied to Server connection help. September 30, 2021 @ 6:57:50 am PDT

Originally posted by Takama:
You should definitely be able to join your own server by using your ip and port, especially if it works for your friends. I'm guessing your issue is then your own firewall on your pc, that may be blocking the access.

As for the server browsing, it may be the case that you forgot to forward port+1, I think this one is the one used for listing the server.

Finally, if the server is on the same computer you're playing on, just join using localhost : 127.0.0.1:PORT

That did the trick! I was using the external IP to try and connect, not my internal IP! Thanks so much!
2:13 pm, September 30, 2021
0 comments 0 likes