I am trying to run a plex server as a docker container. I can run it. I can access it on the web by server_ip:port, but I don`t have the admin side of the web interface. When I run the same container, with the same docker run command on my laptop, i can access the web with localhost, and i have the admin panel.
Apperantly plex do not allow admin from another host. However, my server is headless.
I tryed to redirect port with ssh ( ssh username@ip_of_server -L 32400:ip_of_server:32400 -N ). I can access the plex on the localhost, but still no admin section.
What are my option shere?
Server Version: Docker latest
Player Version: Web
Best regards.
P.S.:
Here is how i run the container:
docker run
-d
–name plex
-p 32400:32400/tcp
-p 3005:3005/tcp
-p 8324:8324/tcp
-p 32469:32469/tcp
-p 1900:1900/udp
-p 32410:32410/udp
-p 32412:32412/udp
-p 32413:32413/udp
-p 32414:32414/udp
plexinc/pms-docker
I will integrate this in my home docker-compose.yml later.
Yes, I have a token that I am using. I just did not put it for this test, as I did not think it was obligatory.
I added it and modified the docker run from the github.
The reason is, you’re usually creating another NAT layer inside the host. That leads to a Double-NAT situation – which Plex won’t get through from the outside.
I’ve always found, if you’re using Docker for Plex – HOST networking is best.
There is one limitation with that – You can’t run two servers on the same host.
What you’d probably want to do in those cases is either LXC (abstract the OS) or VM (abstract the host). LXC is as light weight as docker (which only abstracts the app0.