I am running Plex in Docker. I have Tailscale on the host. I also have Tailscale on my iPhone. Tailscale is a VPN (in the traditional sense of allowing remote devices to access the LAN even when not connected to it).
When I am out the house I can access Plex on my home server using Safari on my phone despite not being on the LAN as Tailscale invisibly routes the network traffic back to my server. I have many other self hosted Docker containers on that server and I can access all of them remotely too over Tailscale, no problem.
The only exception is the Plex iOS app. I have added my server’s Tailscale IP address under Advanced>Server Connections but it gives me a 401 error message.
I am logged in to the app and it works fine automatically on the LAN using autodiscover but it won’t let me add the server by IP address and it doesn’t work remotely.
I am aware Plex has an integrated remote access solution but I already have Tailscale for this purpose and it has no bandwidth limits so I disabled remote access. This should make no difference as Tailscale is on the host and it works remotely in Safari, but as a test I tried enabling remote access. This didn’t work and it showed a red X in the settings page next to my IP address - I think this is because it assumes remote access will be over my public IP (where I have not opened the port) rather than through Tailscale (which has a different IP address) and I can’t see any setting to tell it what IP address to use.
This is NOT a Tailscale specific question as proven by the fact that it works remotely in Safari on the phone. Also the 401 error implies that it is connecting, just not authenticating (it gives a different error when can’t connect (1004)).
In Settings>Network I have whitelisted the entire Tailscale IP range and added the server’s Tailscale IP address to the custom server addresses.
This seems to be a bug with the IOS app or with the magic Plex tries to do to make its integrated remote access work - I just want Plex to stay out the way and let me route the traffic myself! This works when viewing my Plex server in Safari and with Jellyfin and all other apps. Is this possible?