Cloudflare CDN can work in plex web and desktop. But not in IOS plex player

Server Version#: ubuntu 1.30.0.6359
Player Version#: IOS 8.11.1

I set the “Custom server access URLs” (behind Cloudflare CDN) and turn off remote access. I am able to access the server using the Web client and desktop client. However, the IOS client cannot connect to the server.

I don’t know if this will apply to your situation, but I was having issues with this setup and that’s because on top of needing to allow the CloudflareIPs on my firewall, I needed to also add the Plex Worker IPs so that the server could setup remote access with the manual port of 443 (for https.) instead of 32400 or whatever. Cloudflare proxy only does HTTP/HTTPS.

@slightlyevolved thanks for reply. iOS Plex do not accept http. I switched 8443 port to use https and it works.

I switched 8443 port to use https and it works.

@fengyang0317 Sorry, I don’t follow. Could you elaborate on your setup?

8443 is not a standard Plex port. Are you doing “Cloudflare:443/HTTPS → Plex:8443/HTTPS” or is there an Nginx in between?

I used iptables to redirect traffic to 32400

 iptables -t nat -A PREROUTING -p tcp --dport 8443 -j REDIRECT --to-port 32400
 iptables -t nat -A PREROUTING -p tcp --dport 8880 -j REDIRECT --to-port 32400

When the cloudflare cdn is using 8880 http, the desktop and web play can access.

After switching to 8443 https port, everything can work.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.