How to fix Plex remote access not available outside your network

How to fix Plex remote access not available outside your network

Back to Blog
Hero Image

Plex Media Server is the gold standard for self-hosting your media library. However, one of the most frustrating errors users face is the dreaded "Remote Access Not Available Outside Your Network". This happens when Plex cannot establish a direct connection between your server and the outside world. If you do not have a static IP address, your router's public IP changes regularly, causing remote access to drop. Here is how to fix this issue permanently using a custom domain on Cloudflare and SyncMyIP.

Step 1: Enable Port Forwarding on Your Router

For Plex remote access to function, your router must route incoming traffic on a specific port directly to your server's local IP address.

  • Open your Plex dashboard, go to Settings > Remote Access.
  • Check the box for "Manually specify public port" and keep the default value of 32400.
  • Access your router's admin panel and create a port forwarding rule: forward external port 32400 to your Plex server's local IP on port 32400 (using TCP protocol).

Step 2: Keep Your Hostname Synced with SyncMyIP

Plex needs to know how to locate your home network even when your ISP changes your IP. By mapping a custom subdomain in Cloudflare (e.g., plex.yourdomain.com), you can keep it synchronized automatically using SyncMyIP:

  1. Create an A record in Cloudflare pointing to your current public IP.
  2. Generate a Cloudflare API token with DNS Edit permissions.
  3. Configure SyncMyIP on your Windows machine or home server with your token and subdomain. It will run silently in the background, updating your IP in real-time.

Step 3: Configure Custom Server Access URLs in Plex

To tell Plex clients (like your phone or smart TV) to connect via your secure, auto-updating subdomain:

  • In Plex Settings, go to Network.
  • Find the "Custom server access URLs" field.
  • Enter your domain: https://plex.yourdomain.com:32400.

This bypasses Plex's default relay system and establishes a direct, fast connection to your server from anywhere in the world, completely bypassing dynamic IP limitations.