I’m trying out Plex Server on a docker container for the first time. I’ve followed the instructions on the github site, but I can’t seem to be able to access the web interface. I keep getting a ‘connection refused’ error. I’ve tried my macbook as the host and I’ve also spun up a VM running ubuntu 16.04 as the host and I keeping getting the same message. I was hoping someone might share some suggestions so I can get this going!
Here is my first attempt with a docker run command:
docker run \
--name plex \
--network=host \
-e TZ="America/Denver" \
-e PLEX_CLAIM="claim-#############" \
-v $PWD/config/plex:/config \
-v $PWD/transcode:/transcode \
-v $PWD/media:/data \
plexinc/pms-docker
My second attempt using docker-compose.yml file:
version: '2'
services:
plex:
container_name: plex
image: plexinc/pms-docker
restart: unless-stopped
environment:
- TZ=America/Denver
- PLEX_CLAIM=claim-#############
network_mode: host
volumes:
- $PWD/config/plex:/config
- $PWD/transcode:/transcode
- $PWD/media:/data
I’ve tried accessing the site by going to http://localhost:32400 on my macbook pro and on my ubuntu VM. I’ve tried running the following command from both hosts and this is the results.
curl -k "http://localhost:32400"
curl: (7) Failed to connect to localhost port 32400: Connection refused
