Access your Plex or Jellyfin server from outside without paying for a static IP

Access your Plex or Jellyfin server from outside without paying for a static IP

Back to Blog
Remote access to Plex and Jellyfin from outside your home with your own domain

Plex and Jellyfin work great inside your home. The trouble starts when you want to use them from outside: your ISP gives you a public IP that changes, and every time it does, the address you had saved stops working. The most stable fix is your own domain name that follows your IP, such as plex.yourdomain.com or jellyfin.yourdomain.com, updated by a program instead of by you.

Plex and Jellyfin: how each one connects from outside

ServerDefault portHow the client reaches itWhat happens if it fails
Plex32400 (TCP)Usually through plex.tv; without a direct connection it falls back to the Plex relayThe app shows an indirect connection and quality is limited
Jellyfin8096 (HTTP) and 8920 (HTTPS)Directly, using the address you type in the appThe app cannot find the server when your IP changes

Jellyfin has no relay: if the address you typed stops pointing to your home, there is no server. Plex has a fallback relay, but with low bandwidth that forces transcoding or lower quality. In both cases a domain that follows your IP avoids the problem.

What you need

Steps for Plex

  1. Create the A record plex.yourdomain.com in Cloudflare and leave it as “DNS only” (grey cloud). Cloudflare limits the use of its free proxy for serving video, so it is not the usual choice for a media server; if you turn it on, check its terms of service first.
  2. On the router, forward TCP port 32400 to the fixed local IP of the machine running Plex. If you do not know how, see opening ports with a dynamic IP.
  3. In Plex, in the server settings, enable remote access and, under Network, add your address as a custom server access URL.
  4. Test from mobile data, not from your Wi-Fi. The complete walkthrough is in configuring Plex for remote access step by step, and if something fails, in Plex remote access not working.

Steps for Jellyfin

  1. Create the A record jellyfin.yourdomain.com as “DNS only”.
  2. In the Jellyfin dashboard, under Networking, leave remote connections allowed.
  3. On the router, forward the server port (8096, or 8920 if you use HTTPS) to the machine's local IP.
  4. Do not leave port 8096 exposed without encryption for long: your username and password would travel in clear text. The recommended setup is a reverse proxy (Caddy, Nginx Proxy Manager or Traefik) with an HTTPS certificate, forwarding port 443 instead of 8096.
  5. In the app, enter https://jellyfin.yourdomain.com as the server address.

Basic security

Opening a port exposes the server to the internet. Use long passwords, keep Plex or Jellyfin updated, do not open ports you do not need, and read the guide to security for home servers with a dynamic IP. If you cannot or do not want to open ports, a tunnel or a VPN is an alternative; the principle is explained in remote access without opening ports with a Cloudflare tunnel, although for continuous video you should check the terms of the service you use.

Frequently asked questions

Do I need a static IP to watch Plex or Jellyfin away from home?

No. A domain that updates itself when your IP changes is enough. If you wonder whether a static IP is worth it, see static or dynamic IP: when DDNS is enough.

Can I use a free DDNS instead of my own domain?

Yes, but with a domain in Cloudflare you control the name and do not depend on periodic renewals. The comparison is in free or paid DDNS.

How long until the change is noticed when my IP changes?

It depends on how often your client checks the IP and on the record's TTL; until it updates, the address points to your previous IP.

Do I need a subscription to use my server away from home?

Jellyfin does not require one. On Plex, some remote playback features in the mobile apps may require a subscription: check Plex's website before relying on them.

If you also want to monitor that your server stays reachable, the PRO version of SyncMyIP includes unlimited monitors (TCP ports too) and Telegram alerts when your IP changes.