Wednesday, June 15, 2022

Tautulli in Docker container can't connect to Plex (also in Docker) via localhost or its LAN IP, but it can connect to the WAN IP.


full image - Repost: Tautulli in Docker container can't connect to Plex (also in Docker) via localhost or its LAN IP, but it can connect to the WAN IP. (from Reddit.com, Tautulli in Docker container can't connect to Plex (also in Docker) via localhost or its LAN IP, but it can connect to the WAN IP.)
I have Tautulli and Plex both running with Docker-Compose on Arch Linux.Here is my docker-compose.yaml file for PMS:version: '2' services: plex: container_name: plex image: plexinc/pms-docker restart: unless-stopped environment: - TZ=America/New_York - PLEX_CLAIM=*********** - PLEX_UID=1001 - PLEX_GID=1001 network_mode: host devices: - /dev/dri:/dev/dri volumes: - /var/lib/plexmediaserver:/config - /mnt/mediadrv1/Media:/media1 - /mnt/mediaRAID/Media:/media2 tmpfs: - /transcode and here is my Tautulli docker-compose.yaml:version: '3' services: tautulli: image: ghcr.io/tautulli/tautulli container_name: tautulli restart: unless-stopped volumes: - /var/lib/tautulli:/config environment: - PUID=1001 - PGID=1001 - TZ=America/Detroit ports: - 8181:8181 I start and stop Plex and Tautulli with a systemd service template, docker-compose@.service:[Unit] Description=%i service with Docker-Compose Requires=docker.service mnt-mediadrv1.mount mnt-mediaRAID.mount After=docker.service mnt-mediadrv1.mount mnt-mediaRAID.mount StartLimitIntervalSec=300 StartLimitBurst=5 [Service] Type=oneshot RemainAfterExit=true WorkingDirectory=/etc/docker/compose/%i ExecStartPre=/usr/bin/docker-compose pull ExecStart=/usr/bin/docker-compose up -d --remove-orphans ExecStop=/usr/bin/docker-compose down Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target For some reason I can connect to the public IP address for my server, but for obvious reasons I'd prefer to connect directly via localhost. However it just tells me that it's unable to connect when I try to do so. I keep getting "Server found but unable to connect websocket" and the logs show "Websocket connection test failed: [Errno 113] No route to host "I've tried putting Tautulli into host mode to match how PMS is set up by adding the line network_mode: host to docker-compose.yaml for Tautulli, but that didn't work.


Mining:
Bitcoin, Cryptotab browser - Pi Network cloud PHONE MINING
Fone, cloud PHONE MINING cod. dhvd1dkx - Mintme, PC PHONE MINING


Exchanges:
Coinbase.com - Stex.com - Probit.com


Donations:
Done crypto



Comments System

Disqus Shortname

Disqus Shortname

designcart
Powered by Blogger.