I have installed Plex Media server on a Hyper V Linux VM using Docker compose. I am trying to claim the new server by navigating to the VM’s IP http://192.168.1.62:34200/web from my local MS Server 2016 but I am unable to find it to claim.
If I go to https://app.plex.tv/desktop it advises “An insecure media server has been found on your network. Reload app insecurely”. It then takes me to an internal docker address http://172.18.0.12:32400/web which does not load.
This is what I am using in my docker-compose.yml .
I’ve just tried following these steps but unable to get it to work.
Windows
If you’re using Windows on your local system and your server is on Linux or OS X, you’ll need to use an application such as Putty that can create the SSH tunnel for you. You can use instructions like these for setting up the Putty/SSH connection. If following that, you would use this information:
Gateway: ip.address.of.server
Source Port: 8888
Destination: localhost:32400
Once you have the SSH tunnel set up:
Open a browser window
Type http://localhost:8888/web into the address bar
The browser will connect to the server as if it were local and load Plex Web App
If your server is running Windows, then you could do a standard Remote Desktop session or similar.
Do you know how to open a bash in your container (e.g. docker exec -it <container-id> /bin/bash)? Would you like to try my claim script? The usage is rather simple and described on the github page. Just download the script in your container, e.g. with wget https://github.com/uglymagoo/plex-claim-server/raw/master/plex-claim-server.sh). You have to restart your container afterwards.
Please then review your Preferences.xml file in /config/Library/Application Support/Plex Media Server/. It should contain a PlexOnlineToken and your account name for example.
That all depends on your Hyper V network configuration. In a nutshell: TCP connections to port 32400 on your public WAN IP (IP of your MS Server 2016?) have to be forwarded to port 32400 of your Docker container. What’s between your MS Server and the internet?
Figured it out. I’d previous been running PMS on Windows which auto maps the port via upnp. I’ve just manually forwarded the port and all is now working. Thanks for all your help @drmagoo!