Jellyfin Forum
Does Jellyfin require Setting Port Forwarding? - 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: Does Jellyfin require Setting Port Forwarding? (/t-does-jellyfin-require-setting-port-forwarding)



Does Jellyfin require Setting Port Forwarding? - Sherawcairo - 2023-10-03

Does Jellyfin require Setting Port Forwarding?
If not needed. Why some do setup port forwarding for Jellyfin. and what is the port number?


RE: Does Jellyfin require Setting Port Forwarding? - TheDreadPirate - 2023-10-03

You setup port forwarding if you intend to access Jellyfin outside of your home network. If you only want to access it from your home, there is no need to enable port forwarding.

The default jellyfin port is 8096.


RE: Does Jellyfin require Setting Port Forwarding? - Sherawcairo - 2023-10-03

Heard that port forwarding is not the safest.
And there is the option of proxy. Would you please explain this?


RE: Does Jellyfin require Setting Port Forwarding? - Sherawcairo - 2023-10-03

Enabled port forwarding on router internal and external port is 8096 for my server local IP address.

Im using dynamic dns so on jellyfin i added my dynamic dns address followed by the port number as follows: https://dynamicdnsaddress:8096. I tried http and without http. Still says could not connect to server.

I’m sure the issue is not related to the dynamic DNS service or the local IP address of my server as I am using both of them for other services that allows me to connect remotely to my server


RE: Does Jellyfin require Setting Port Forwarding? - TheDreadPirate - 2023-10-03

Jellyfin is not hardened and is not considered secure. Because of that, making it openly available to the Internet so you can access it anywhere is unsafe. It is recommended that you use something like Apache, Nginx, or Caddy to sit in between the Internet and Jellyfin. Since those apps ARE hardened and more secure. This setup is called a reverse proxy. Apache/Nginx/Caddy handles incoming requests and relays them to Jellyfin.

(2023-10-03, 07:20 PM)Sherawcairo Wrote: Enabled port forwarding on router internal and external port is 8096 for my server local IP address.

Im using dynamic dns so on jellyfin i added my dynamic dns address followed by the port number as follows: https://dynamicdnsaddress:8096. I tried http and without http. Still says could not connect to server.

I’m sure the issue is not related to the dynamic DNS service or the local IP address of my server as I am using both of them for other services that allows me to connect remotely to my server

Settings > Dashboard > Networking

Did you check the box to enable remote connections?


RE: Does Jellyfin require Setting Port Forwarding? - Sherawcairo - 2023-10-03

I will look into reverse proxy and set it up soon.

enable remote connections is enabled. yet not connecting. i even tried to use it locally by adding the server ip address followed by the http port number. didn't work also

Thank you for the support


RE: Does Jellyfin require Setting Port Forwarding? - Sherawcairo - 2023-10-03

Fixed it. Needed to allow OS firewall access to jellyfin.


RE: Does Jellyfin require Setting Port Forwarding? - Sherawcairo - 2023-10-03

Since I'm using dynamic dns does this mean that even if i'm connected to my local wifi the streaming will have to go to the internet and back again?
Or will the app realize that it's on the same local network and stream over LAN?


RE: Does Jellyfin require Setting Port Forwarding? - TheDreadPirate - 2023-10-03

Check if your router supports "NAT Hairpin" or "NAT Loopback". Enable it if it is available. This feature will keep traffic local when a DNS lookup points to itself.