Jellyfin Forum
SOLVED: Unable to Connect from anywhere - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: SOLVED: Unable to Connect from anywhere (/t-solved-unable-to-connect-from-anywhere)

Pages: 1 2 3


RE: Unable to Connect from anywhere - TheDreadPirate - 2024-06-11

WAN IP, making sure you are using your new address, not your old address.

-->

router with port forwarding for port 8096 to 192.168.X.X address of your Jellyfin server

-->

Jellyfin on Windows with jellyfin.exe allowed through Windows firewall


I'm not sure what else we could be missing.


RE: Unable to Connect from anywhere - LunaCooper - 2024-06-11

Should my WAN IP and my PC's public ip be different? When I search my ip it shows a different ip than my routers WAN IP and before I switched ISP I just used the one that pulled up for my ip.


RE: Unable to Connect from anywhere - TheDreadPirate - 2024-06-11

Uhhhhh.  That sounds like CGNAT.

When you go here

https://www.whatismyip.com/

The IPv4 address should be the same as the WAN IP in your router.

       


RE: Unable to Connect from anywhere - LunaCooper - 2024-06-11

It is not the same, so I guess I'm SOL


RE: Unable to Connect from anywhere - pcm - 2024-06-11

Stupid question - but are you able to access jellyfin on the same machine ? If you're not then the problem maybe this

Code:
[2024-06-10 15:01:26.575 -05:00] [INF] [1] Namo.Plugin.InPlayerEpisodePreview.InPlayerEpisodePreviewPlugin: Attempting to inject preview script code in "C:\Program Files\Jellyfin\Server\jellyfin-web\index.html"
[2024-06-10 15:01:26.647 -05:00] [ERR] [1] Namo.Plugin.InPlayerEpisodePreview.InPlayerEpisodePreviewPlugin: Encountered exception while writing to "C:\Program Files\Jellyfin\Server\jellyfin-web\index.html": "System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Jellyfin\Server\jellyfin-web\index.html' is denied.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.File.WriteAllText(String path, String contents)


If you are then yeah, it's a port-forwarding issue as you have been discussing with @dreadpirate ... On work around would be to put a reverse-proxy like nginx or caddy infront and have nginx/caddy serve jellyfin on port 80/443 ...

another workaround might be to get jellyfin itself to listen on port 80/443 ... typically port 80/443 don't get blocked by any ISP.


RE: Unable to Connect from anywhere - LunaCooper - 2024-06-11

After wiping the network config I could access it locally on any machine, but if I turned on either or both HTTPS settings with a cert attached, it wouldn't connect on anything.

I just had a tech come by and he confirmed they do in fact use a CGNAT, the tech over the phone just had no idea what I was talking about.

The guy that came by said I could possibly get a static IP for free if I told them I wfh, would that be worth the trouble of doing or would that not fix the issue?


RE: Unable to Connect from anywhere - TheDreadPirate - 2024-06-11

That would fix the issue. Get a static IP


RE: Unable to Connect from anywhere - LunaCooper - 2024-06-11

Thanks, I'll see what they'll give me