I’m trying to setup my Plex server to be accessible remotely without opening any ports. My plan was to use Tailscale. I’ve used in previously with Jellyfin and it worked well.
My problem is that when adding a Plex server in Infuse I do not get the option to enter a server address. Instead it instantly takes me to the Plex account login page.
So is there a way for me to specify a server address? Or any other way to make Infuse on my iPhone connect to the server through Tailscale?
Oh interesting. Does that mean Infuse will automatically switch to connecting via the Tailscale address when I leave my local network and then switch back to the LAN IP when I re-enter the local network?
I think that is how plex handles it, even if via Tailscale, Tailscale will go direct if it can but you would need to test it as i’m not certain either way
Correct, Plex will provide a set of current addresses to Infuse and it will be able to connect on the best one (depending on the device and network conditions).
For it to work do I still need to leave remote access enabled on the Plex server? With it off I can’t seem to connect even though I gave the Tailscale address to the server. The whole point of wanting to be able to connect via Tailscale is so I don’t have to have a port open on the router for remote access.
Tailscale itself works because if I enter the Plex server Tailscale address into a web browser on my phone (while wifi is off) I can access the server. This is with remote access disabled on the server
No remote connection should be off, just note Infuse isn’t doing anything here it’s Plex & Tailscale that are dictating the connection.
Have you tested it’s working as you intended in the Plex app on the device? If it’s working there it should work on Infuse and visa versa. I’m guessing there is an issue in your plex / tailscale setup somewhere.
Hmmm odd then. Prior to switching back to Plex recently I was running a Jellyfin server also with tailscale and it worked perfectly. Only difference was in Infuse when adding a Jellyfin server it lets you specify an address. So I could just give it the tailscale address.
Also I don’t think there’s anything wrong with my Plex/Tailscale setup because if I copy the tailscale address like [insertname].taildc####.ts.net and paste it into a web browser it loads my Plex server just fine. I’ve also double checked that the tailscale address is properly entered into the Plex server settings > Network > Custom server access URLs.
i did just try disabling the remote access again and then connecting through the Plex app. It let me login but then said I didn’t have access to any libraries.
So I don’t know why it isn’t working in the Plex or Infuse apps but yet it works just pasting the Tailscale address into a browser and loading the webUI? though I should mention Plex is running in a docker container and I use Tsdproxy combined with Tailscale to give direct access to the container with its own Tailscale address
Actually seem to have got it working. For some reason using the Plex Docker Container’s own tailscale address in Server Settings > Network > Custom server access URLs wasn’t working. But I tried changing it to the host machines tailscale address instead and it worked. Not sure why it doesn’t work with the container’s own tailscale address though.
Glad you got it working, no idea why it’s doing that behaviour.
One thing to keep in mind with Plex vs Jellyfin, is Plex needs an internet connection, when you try to connect, it’s pinging Plex.tv which then tells Infuse the address to connect to, it’s local after that but the initial connection requires internet access.
Why it would work for one TS address but not the other, no idea but I’m guessing it’s come complication with that Plex handshake / setup process.