Indirect Access Only when on Local Network

Server Version#: 1.41.5.9522

Recently my server is only accessible on my local network through Plex Relay/Indirect connection. As soon as I’m away from home all media is able to direct play. Nothing has changed in my setup, so I’m curious why this seems to be the case all of a sudden. Any help is appreciated.

Im going to bet the IP subnet the container uses is not that of your local network (172 vs 192) enable network passthru and you should be good.

Looks like you are correct but can you expand on fixing this a bit more? I’m by no means a docker expert. It had seemed to be working fine until recently with no changes to my compose file or setup.

If the client and the server are on different subnets Plex may treat that connection as remote. When devices are on the same subnet more communications are allowed (some requests do not cross subnets by default) and they can complete proper handshakes to know its a local connection vs remote.

Post your compose file or modify it to add

    network_mode: host

For example, here is my complete docker-compose, network_mode: host will use the machines ip and subnet.

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

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