Jellyfin Forum
Can't connect to server - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Can't connect to server (/t-can-t-connect-to-server)



Can't connect to server - Superdurt - 2023-09-14

Since 1.5 week ago I'm having problems accessing my JF server from outside the network. JF does continue to work on the local machine but it will stop working after 2-3 hours after a server restart for remote users.

Here is the log.

I have tried to disable all third party plugins. I also tried both "Enable automatic port mapping" on and off. But with off I could not even get a connection at all.

There is an error regading the port but I don't get why it is working for 2-3 hours and after that not anymore. Stopping and restarting the JF instance gets it working again.


RE: Can't connect to server - TheDreadPirate - 2023-09-14

Pretty sure "Enable automatic port mapping" uses uPnP to open your routers firewall for external access. But that eventually times out. And if your router is bugged or something you get the error you are seeing in your log. Restart your router then manually open port 8096 on both Windows Firewall and your router.

But you should be setting up a reverse proxy + https or using a VPN like tailscale for external access.


RE: Can't connect to server - Superdurt - 2023-09-14

(2023-09-14, 01:30 AM)TheDreadPirate Wrote: Pretty sure "Enable automatic port mapping" uses uPnP to open your routers firewall for external access.  But that eventually times out.  And if your router is bugged or something you get the error you are seeing in your log.  Restart your router then manually open port 8096 on both Windows Firewall and your router.
I will try that for now. 

Quote:But you should be setting up a reverse proxy + https or using a VPN like tailscale for external access.
We will get a new PC in the coming month and I will configure that one more properly. The current one was just a test machine that has been used for a bit too long.