Jellyfin port
Jellyfin Port 8096: Every Port and How to Reach It Remotely
Jellyfin's web interface and apps connect on TCP port 8096 over HTTP, at http://<server-ip>:8096. Port 8920 is the HTTPS port, used only after you enable HTTPS in Jellyfin. On your local network, Jellyfin also listens on UDP 7359 for client discovery, and the DLNA plugin uses UDP 1900. For remote access you only ever expose one web port, preferably through a reverse proxy with HTTPS on 443. Jellyfin has no cloud relay, so behind CGNAT you need a tunnel or a VPN with port forwarding.
Some links on this page are affiliate links. If you buy through them, we may earn a commission at no extra cost to you. We also cover the free options and say when they fit better.
- Web port
- 8096 TCP (HTTP)
- HTTPS port
- 8920 TCP, off by default
- Client discovery
- 7359 UDP, LAN only
- DLNA (plugin)
- 1900 UDP, LAN only
- Cloud relay
- None, self-hosted only
Last updated:
Jellyfin ports
Since Jellyfin 10.9, DLNA is a separate first-party plugin, so port 1900 is only used if you install it. Discovery on 7359 and DLNA on 1900 are broadcasts meant for your LAN and should never be forwarded.
| Port | Protocol | Used for | Configurable | Expose to the internet? |
|---|---|---|---|---|
| 8096 | TCP | Web interface, apps and API over HTTP | Yes | Only behind HTTPS, ideally via a reverse proxy |
| 8920 | TCP | HTTPS, only when enabled in Jellyfin | Yes | Only if Jellyfin terminates HTTPS itself |
| 7359 | UDP | Client discovery on the local network | No | No |
| 1900 | UDP | SSDP for the DLNA plugin | No | No, DLNA does not work remotely |
How to change the Jellyfin port
- 1
Open the Networking settings
In the admin dashboard, open the Networking page. The HTTP and HTTPS port numbers are set there.
- 2
Enter the new port
Pick a port nothing else on the host uses. Avoid 8080, which many other self-hosted apps claim by default (see port 8080).
- 3
Restart Jellyfin
Restart the server so it listens on the new port, then update the server address in every Jellyfin app and in your reverse proxy or port forwarding rule.
Docker
The official container examples publish 8096/tcp and 7359/udp. To move Jellyfin to another host port, change only the left side of the mapping. DLNA needs host networking (--net=host), because broadcasts do not reach a bridged container.
# docker-compose.yml
services:
jellyfin:
image: jellyfin/jellyfin
ports:
- 8096:8096/tcp # host:container, e.g. 9096:8096 to use 9096
- 7359:7359/udp
volumes:
- ./config:/config
- ./cache:/cache
- /path/to/media:/mediaJellyfin not loading on port 8096?
- Use the server's LAN IP, not
localhost, from other devices:http://192.168.1.20:8096. - Allow TCP 8096 in the host firewall. On Windows:
New-NetFirewallRule -DisplayName "Jellyfin" -Direction Inbound -Protocol TCP -LocalPort 8096 -Action Allow. On Ubuntu:sudo ufw allow 8096/tcp. - In Docker, make sure the port is published (
docker psshould show0.0.0.0:8096->8096/tcp). - If it works at home but not outside, check that the user has Allow remote connections to this server turned on (Users > Edit user), then test the port from outside.
Jellyfin remote access: your options
Jellyfin is fully self-hosted. Unlike Plex, there is no hosted relay that reaches your server for you, so every remote access method is something you set up. The Jellyfin documentation lists four: forwarding the port directly (which it does not recommend), a reverse proxy, a VPN into your network, or a reverse proxy on a VPS.
| Method | Works behind CGNAT | Smart TVs and family devices | Notes |
|---|---|---|---|
| Port forward 8096 directly | No | Yes | Plain HTTP; Jellyfin advises against it |
| Reverse proxy (Caddy, Nginx) on 443 | No | Yes | Recommended with a public IP; free |
| Tailscale or WireGuard into your LAN | Yes | Only devices that can run the VPN app | Free; Roku and many smart TVs cannot join |
| Reverse proxy on a VPS | Yes | Yes | You rent and maintain a server |
| VPN with port forwarding | Yes | Yes | Public address on the VPN server; no router access needed |
Port forward Jellyfin the right way (with a public IP)
- 1
Put a reverse proxy in front of Jellyfin
Jellyfin recommends terminating HTTPS on a reverse proxy rather than in Jellyfin, and suggests Caddy for automatic certificates. Point the proxy at
http://<jellyfin-ip>:8096and allow WebSockets. - 2
Add the proxy to Known Proxies
In Jellyfin's network settings, add the proxy's IP address under Known Proxies, so Jellyfin trusts the forwarded client address and protocol headers.
- 3
Forward 80 and 443 on your router
Forward TCP 443 (and 80 for certificate issuance) to the proxy host. Keep 8096 closed to the internet. UDP 443 is optional, for HTTP/3.
- 4
Test from outside
Run the port forwarding test on 443, then open
https://your-domainon mobile data.
Minimal Caddyfile
jellyfin.example.com {
reverse_proxy 192.168.1.20:8096
}Jellyfin remote access behind CGNAT
If the CGNAT check shows your router's WAN address in 100.64.0.0/10, port forwarding on the router cannot work. That is common on Starlink, 5G home internet and many fiber connections, and it is where Jellyfin's lack of a relay hurts most.
Tailscale is the best free fix if only you watch, on devices that can run its app. If family members watch on a Roku, a smart TV or a friend's browser, they need a normal address instead. A VPN with port forwarding gives you one: run the VPN on the Jellyfin host or your router, open the ports on the VPN server, and point your domain at the VPN IP.
PureVPN's Port Forwarding add-on lets you pick the exact ports, so you can open 443 and 80 for a Caddy reverse proxy with automatic HTTPS, or 8096 for a quick test. Add a dedicated IP so your domain's DNS record never has to change. See port forwarding behind CGNAT for how this compares with Proton VPN and PIA, which only assign random ports.
Share Jellyfin behind CGNAT
PureVPN + Port Forwarding
- Choose the ports to open, such as 443 and 80 for HTTPS, up to 15 at a time.
- Viewers install nothing: any browser, TV or Jellyfin app can connect.
- Dedicated IP option for a stable DNS record.
- 31-day money-back guarantee.
Streaming through a VPN: what to expect
- Remote viewers are limited by your home upload speed and the VPN server's throughput. Choose a VPN server close to your home.
- Set a remote bitrate limit in Jellyfin's playback settings, so remote streams transcode to something your upload can sustain.
- Exclude local devices from the VPN, or keep them on the LAN address, so home viewing does not loop through the VPN server.
Is it safe to open the Jellyfin port?
- Do not forward 8096 directly: it is plain HTTP, so passwords and API keys cross the internet unencrypted.
- Use strong passwords, and disable remote access for accounts that do not need it.
- Keep Jellyfin updated, and do not log full request URLs on your proxy, because they can include API keys.
- Never forward 7359 or 1900. Check what your public IP exposes with the port scanner.
Jellyfin port FAQ
What is the default Jellyfin port?
TCP 8096 for HTTP. The HTTPS port is 8920, but it is only used after you enable HTTPS in Jellyfin.
What ports does Jellyfin need?
Only 8096/TCP is required. 7359/UDP adds automatic client discovery on your LAN, and 1900/UDP is needed only for the DLNA plugin.
Should I open port 8096 or 8920?
Neither, ideally. Forward 443 to a reverse proxy that serves HTTPS and passes requests to 8096. If you must expose Jellyfin directly, use 8920 with a valid certificate rather than plain HTTP on 8096.
Does Jellyfin have a relay like Plex?
No. Jellyfin is fully self-hosted, so remote access needs port forwarding, a reverse proxy, a VPN into your network, or a VPN or VPS with a public address.
Can I use Jellyfin remotely behind CGNAT?
Not with router port forwarding. Use Tailscale for your own devices, or a VPN with port forwarding or a VPS reverse proxy so any device can connect.
Is port 1900 needed for Jellyfin?
Only for DLNA, which has been a separate plugin since Jellyfin 10.9. It is a LAN broadcast port and never needs to be forwarded.
References
- Jellyfin: Networking — default ports, HTTPS guidance and ways to expose the server.
- Jellyfin: Reverse proxy — Known Proxies and the recommended Caddy setup.
- Jellyfin: DLNA — the DLNA plugin and UDP 1900.
- Jellyfin: Container installation — official Docker port mappings and host networking.
Related tools
Related port guides
- Sonarr, Radarr and Prowlarr portsDefault ports for the *arr stack and download clients, and which ones to open.
- Port forwarding behind CGNATOpen a port for game servers, Plex or self-hosting when your ISP uses CGNAT.
- Home Assistant port 8123Which port Home Assistant uses, how to change it, and remote access behind CGNAT.
- Port 8080What uses port 8080, how it differs from 80, and how to open and test it.