# Trouble Accessing Plex Through Docker

**URL:** <https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607>\
**Category:** Plex Media Server\
**Tags:** server-docker\
**Created:** [July 3, 2024, 2:17pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607 "2024-07-03T14:17:29Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![renee\_gil](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@renee\_gil](https://forums.plex.tv/u/renee_gil)\
**Post date:** [July 3, 2024, 2:17pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/1 "2024-07-03T14:17:30Z")

</div>

I have a new UGREEN NAS and am trying to set up Plex using Docker. I’ve followed a YouTube tutorial and everything seems to be running smoothly, but Plex doesn’t seem to be showing the NAS as a server despite using the Plex Claim Code. Anyone have any ideas as to how to connect them?

Plex doesn’t show the NAS in my list of devices and when I try to use the 32400/manage code at the end of my NAS IP, it shorts out and says that the server can’t connect.

---

<div class="post-metadata">

**Author:** ![SeekingAdvice](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@SeekingAdvice](https://forums.plex.tv/u/SeekingAdvice)\
**Post date:** [July 3, 2024, 2:18pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/2 "2024-07-03T14:18:52Z")

</div>

How is your docker set up to use the network? Bridge or host? If bridge, what ports do you have forwarded? If host, is your router forwarding ports to the host? You should post a screenshot or a copy of your docker compose file to get a sense of what’s going on.

---

<div class="post-metadata">

**Author:** ![renee\_gil](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@renee\_gil](https://forums.plex.tv/u/renee_gil)\
**Post date:** [July 3, 2024, 2:29pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/3 "2024-07-03T14:29:49Z")

</div>

@SeekingAdvice It’s set up as Host, but to be honest I don’t know if the router is forwarding ports to the host. How can I determine that or access the docker compose file? I’m new to this and would love the help.

Thank you!

---

<div class="post-metadata">

**Author:** ![TheLivingBubba](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/thelivingbubba/32/336226_2.png) [@TheLivingBubba](https://forums.plex.tv/u/TheLivingBubba)\
**Post date:** [July 3, 2024, 2:50pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/4 "2024-07-03T14:50:22Z")

</div>

Have you tried the ip\_address:32400/web

---

<div class="post-metadata">

**Author:** ![renee\_gil](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@renee\_gil](https://forums.plex.tv/u/renee_gil)\
**Post date:** [July 3, 2024, 2:51pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/5 "2024-07-03T14:51:30Z")

</div>

@TheLivingBubba yeah, a few times. I’ve also tried ip:32400/manage. Both cause a server time out. I think I need to figure out the port forwarding but I have no idea how to do that.

---

<div class="post-metadata">

**Author:** ![TheLivingBubba](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/thelivingbubba/32/336226_2.png) [@TheLivingBubba](https://forums.plex.tv/u/TheLivingBubba)\
**Post date:** [July 3, 2024, 2:55pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/6 "2024-07-03T14:55:30Z")

</div>

Would you mind posting your docker compose? Are you running portainer, it will show your network configuartion. (Sorry I don’t remember anything command line besides docker ps)

---

<div class="post-metadata">

**Author:** ![renee\_gil](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@renee\_gil](https://forums.plex.tv/u/renee_gil)\
**Post date:** [July 3, 2024, 2:57pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/7 "2024-07-03T14:57:32Z")

</div>

@TheLivingBubba I’m so new to Docker. How do I find the compose file? I’d be happy to share it.

---

<div class="post-metadata">

**Author:** ![TheLivingBubba](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/thelivingbubba/32/336226_2.png) [@TheLivingBubba](https://forums.plex.tv/u/TheLivingBubba)\
**Post date:** [July 3, 2024, 3:44pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/8 "2024-07-03T15:44:38Z")

</div>

So when you started the docker container did you start it via command line or did you have a “docker-compose.yaml” file?  
Here is the official container github that explains everything and might help. [GitHub - plexinc/pms-docker: Plex Media Server Docker repo, for all your PMS docker needs.](https://github.com/plexinc/pms-docker)

This is my docker compose that I used to run PMS in host mode.

```auto
version: '2'
services:
  plex:
    container_name: plex
    image: plexinc/pms-docker
    restart: unless-stopped
    environment:
      - TZ=America/Los_Angeles
      - PLEX_CLAIM=<claimToken>
    network_mode: host
    volumes:
      - /volume1/data:/data
      - /volume1/docker/plex:/config
      - /volume1/docker/plex:/transcode
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
    devices:
      - /dev/dri:/dev/dri

```

You would need to amend the volumes to match your configuration.

---

<div class="post-metadata">

**Author:** ![renee\_gil](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@renee\_gil](https://forums.plex.tv/u/renee_gil)\
**Post date:** [July 3, 2024, 5:27pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/9 "2024-07-03T17:27:37Z")

</div>

@TheLivingBubba I followed this YT video: [https://www.youtube.com/watch?v=hpQuSRBprxk&t=479s](https://www.youtube.com/watch?v=hpQuSRBprxk&t=479s). It appears that the UGREEN NAS interface doesn’t look similar to what you’re referring to, but I’ve attached some screenshots that seem to show the same information. What do you think?

 ![Screenshot 2024-07-03 at 10.24.44 AM](https://global.discourse-cdn.com/plex/original/4X/f/3/a/f3a0e388e2ae6c6a03a8e9c3ec8956fc47330735.png)  
 ![Screenshot 2024-07-03 at 10.25.06 AM](https://global.discourse-cdn.com/plex/original/4X/c/c/0/cc0da579fd521b5a6d0a1c0234f3d36a2aea93c1.png)  
 ![Screenshot 2024-07-03 at 10.24.58 AM](https://global.discourse-cdn.com/plex/original/4X/6/4/9/649b929c29aa8594100acd01e8ef3f0cb3d6d471.png)

---

<div class="post-metadata">

**Author:** ![renee\_gil](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@renee\_gil](https://forums.plex.tv/u/renee_gil)\
**Post date:** [July 3, 2024, 5:30pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/10 "2024-07-03T17:30:14Z")

</div>

@TheLivingBubba I was able to export a .json file from Docker as well, if that’d be helpful for you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [October 1, 2024, 5:30pm UTC](https://forums.plex.tv/t/trouble-accessing-plex-through-docker/881607/11 "2024-10-01T17:30:38Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
