Valheim

Valheim

Bakken Mar 3, 2021 @ 12:51am
dedicated server connection issues
Hi.
I set up a dedicated server on my private server computer.
it works well, ive run minecraft and 7days servers on it with no problems before.

BUT, with this server, I have an issue that I cannot get my head around.
my friends can connect to it just fine, but after a day, maybe two, the server cannot be connected to using external IP, while internal works just fine.
I have disabled all firewalls, ports from 2450-2460 are forwarded.
internal IP shows on steam favorite servers, while external is "not responding"

To fix this, i have to restart my router.
computer restart or valheim server restart makes no difference.
I want to pinpoint again that any other server ive hosted, this was never an issue.
actually, this is the first time I had to restart my router to begin with, and once every day since I started hosting Valheim server.

Any ideas to what can cause this issue?
< >
Showing 1-5 of 5 comments
CZ2128D Mar 3, 2021 @ 1:52am 
Happened to me too but in my case just restarting the dedicated server is enough.

And I need to constantly ask all my friend to logout -> restart the server -> rejoin after every time another friend want to join and they can't find the server listed in the server browser or if someone disconnected and it's a pain for everyone.

Trying to join directly via steam friend menu > Valheim > Join will give you server not responding error dialog.

Bakken Mar 3, 2021 @ 2:06am 
wow, even worse than my issue, atleast once router is rebooted, everyone can connect.
but this has to be some valheim serverside issue.
but again, the rentable servers does not seem to have this issue, so who knows.
ive read on forums that people are experiencing some really strange things.

if i cannot connect to it internally, some times issue is solved pressing ctrl+c one time in server window. then some more text pops up, and i can connect.
but not working externally.

guess we gotta live with it, its early access.
But it is very anoying to have to run down to the basement to reboot router every evening...
RIKU Mar 3, 2021 @ 3:10am 
do you close your server with Ctrl+C?
I had the same problem when my internet crashed and then i could not connect to my server. I had to restart the router and look for the new public ip to find the server. Maybe its your internet having issues, if its unstable you will have troubles
Bakken Mar 3, 2021 @ 6:12am 
the internet is stable, sitting on a 500/500, never had any issues ever, its only Valheim server.
and yes, allways close it using ctrl+c :)
maybe also worth mention that my IP is static, had the same ip since i moved to this house.
Gemini Apr 19, 2021 @ 5:11am 
##Sorry for the machine translation.##

I think the cause is that the connection table or NAPT table of the router on the user side is being exceeded.

This is because the router receives a large number of UDP packets when many users are searching for the server.

Shortening the UDP connection timer on the router may solve this problem, but my router is not configurable.

I am hoping for a change in the server search specification.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Mar 3, 2021 @ 12:51am
Posts: 5