Jellyfin Forum
Did Caddy change something? Can't access server remotely. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Did Caddy change something? Can't access server remotely. (/t-did-caddy-change-something-can-t-access-server-remotely)

Pages: 1 2


RE: Did Caddy change something? Can't access server remotely. - 4r5hw45twh - 2024-08-30

(2024-08-30, 12:12 AM)TheDreadPirate Wrote: Your caddyfile literally only needs two lines.  Which you already had right.

Code:
jellyfin.MY_DOMAIN_NAME.com

reverse_proxy HOME_NETWORK_PUBLIC_IP:8096

If you made any changes you do need to restart Caddy if you haven't done that already.

https://jellyfin.org/docs/general/networking/caddy/#caddyfile

https://caddyserver.com/docs/conventions#file-locations

Ok, that's how I have my Caddyfile anyway. Just wanted to make sure. So, I re-saved the Caddyfile just to be sure. I then used "systemctl reload caddy" and also tried "systemctl restart caddy" to restart it. Checked status with "systemctl status caddy" and it says Active. Reloaded my domain page in private tab but still a blank page and not even the welcome page that I had before.


RE: Did Caddy change something? Can't access server remotely. - TheDreadPirate - 2024-08-30

You said it didn't, but the only thing that makes sense is that your home Internet IP changed.


RE: Did Caddy change something? Can't access server remotely. - 4r5hw45twh - 2024-08-30

(2024-08-30, 12:23 AM)TheDreadPirate Wrote: The only thing that makes sense is that your home Internet's public IP changed.  You said it didn't, but that is the only thing that makes sense.

Yeah, I just checked it again but nope, still the same as what's in Caddyfile. I'm so lost....


RE: Did Caddy change something? Can't access server remotely. - 4r5hw45twh - 2024-08-30

(2024-08-30, 12:23 AM)TheDreadPirate Wrote: You said it didn't, but the only thing that makes sense is that your home Internet IP changed.

Jesus Christ. Turns out my VPN is on. Turned it off, reloaded, instantly worked. OK, SO.....follow-up question then since I've switched to Linux from Windows.

On Windows, my domain could be used to access JF even when my PC was connected to the VPN. How can I achieve that on Linux? I didn't do anything special for Windows, it just worked like that.


RE: Did Caddy change something? Can't access server remotely. - TheDreadPirate - 2024-08-30

You have to setup split tunneling. Jellyfin doesn't use the VPN, everything else does.


RE: Did Caddy change something? Can't access server remotely. - 4r5hw45twh - 2024-08-30

(2024-08-30, 12:42 AM)TheDreadPirate Wrote: You have to setup split tunneling.  Jellyfin doesn't use the VPN, everything else does.

Weird, didn't need to do that on Windows. Hmm. Will research into that! Would I just bypass "localhost" from VPN? Thanks a ton.


RE: Did Caddy change something? Can't access server remotely. - TheDreadPirate - 2024-08-30

I don't use a VPN on my server and have never had to setup split tunneling. Plus the process is different for each client/VPN service.