I have an Orange Pi 5 running Ubuntu 24.04.1 LTS. I have Docker 28.3.3 installed. The static IP of the Orange Pi in my home network is 192.168.1.178.
I use docker-compose.yml file to deploy PiHole and Jellyfin services. They are exposed behind Caddy reverse proxy. I configured my router to use PiHole as the DNS server - IP 192.168.1.178.
I have the following docker-compose.yml file:
This is the content of the Caddyfile:
I deploy the stack with "docker compose up -d" command.
Once the stack is successfully deployed, I can access http://jellyfin.lan/ from all my devices - PC, iPhone and iPad.
However, I have problems with accessing http://jellyfin.lan/ from my Sony KD65X85LAEP TV, which is running Android TV version 12, OS build is BRAVIA_VH22_M_EU-user 12 STT2.230505.001.S58 680921 release-keys. I use official Jellyfin application for Android TV. I verified that the TV's DNS resolver is listed as 192.168.1.178 (the IP of the Orange Pi). TV is connected to the network via ethernet. When I try to connect from the application, I get the following error when I enter http://jellyfin.lan/ as the server address:
When I inspect PiHole logs, I don't see any DNS queries from the TV towards the DNS server.
Interestingly, the problem only occurs in the official Jellyfin application for Android TV. If I use TV's web browser and navigate to http://jellyfin.lan/, it opens normally. I can see the DNS query in the PiHole console.
Bottom line: All devices on the local network can connect to Jellyfin on http://jellyfin.lan/. My Sony TV with Android TV can connect to Jellyfin using its built-in web browser. However, when I try to connect using the official Jellyfin application for Android TV, I get "Unable to connect" errors.
I tried unplugging the TV from electricity and plugging it in again. I also tried reconnecting the TV's Ethernet cable. Nothing helped so far. Does anybody have an idea why Jellyfin TV app can't connect to my Jellyfin server?
I use docker-compose.yml file to deploy PiHole and Jellyfin services. They are exposed behind Caddy reverse proxy. I configured my router to use PiHole as the DNS server - IP 192.168.1.178.
I have the following docker-compose.yml file:
Code:
services:
# reverse proxy for all services
caddy:
container_name: caddy
image: caddy:2.10.0
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
networks:
- infra
# DNS server (block ads, malware, etc.)
pihole:
container_name: pihole
image: pihole/pihole:2025.07.1
restart: unless-stopped
expose:
- 80 # web interface, accessed via Caddy
ports:
- "53:53/tcp" # DNS over TCP
- "53:53/udp" # DNS over UDP
environment:
TZ: "Etc/UTC"
FTLCONF_webserver_api_password: "SOME_RANDOM_PASSWORD"
FTLCONF_dns_listeningMode: "SINGLE"
FTLCONF_dns_interface: "eth0"
FTLCONF_IPV6: "false"
FTLCONF_dns_hosts: |
192.168.1.178 pihole.lan
192.168.1.178 jellyfin.lan
volumes:
- pihole_etc:/etc/pihole
- pihole_dnsmasq:/etc/dnsmasq.d
cap_add:
- NET_ADMIN
dns:
- 8.8.8.8
- 1.1.1.1
networks:
- infra
# media server
jellyfin:
image: lscr.io/linuxserver/jellyfin:arm64v8-10.10.7ubu2404-ls73
container_name: jellyfin
restart: unless-stopped
expose:
- 8096 # web interface, accessed via Caddy
environment:
TZ: "Etc/UTC"
PUID: 1000
PGID: 1000
volumes:
- ./jellyfin:/config
- /data:/data
networks:
- infra
networks:
infra:
enable_ipv6: false
volumes:
pihole_etc:
pihole_dnsmasq:
caddy_data:
caddy_config:
This is the content of the Caddyfile:
Code:
{
auto_https off
log {
output file /var/log/caddy/access.log
format console
}
}
http://pihole.lan:80 {
reverse_proxy pihole:80
log
}
http://jellyfin.lan:80 {
reverse_proxy jellyfin:8096
log
}
I deploy the stack with "docker compose up -d" command.
Once the stack is successfully deployed, I can access http://jellyfin.lan/ from all my devices - PC, iPhone and iPad.
However, I have problems with accessing http://jellyfin.lan/ from my Sony KD65X85LAEP TV, which is running Android TV version 12, OS build is BRAVIA_VH22_M_EU-user 12 STT2.230505.001.S58 680921 release-keys. I use official Jellyfin application for Android TV. I verified that the TV's DNS resolver is listed as 192.168.1.178 (the IP of the Orange Pi). TV is connected to the network via ethernet. When I try to connect from the application, I get the following error when I enter http://jellyfin.lan/ as the server address:
Code:
Unable to connect to server, tried the following addresses:
https://jellyfin.lan - Unable to connect
https://jellyfin.lan:8096 - Unable to connect
https://jellyfin.lan:8920 - Unable to connect
http://jellyfin.lan - Unable to connect
http://jellyfin.lan:8096 - Unable to connect
When I inspect PiHole logs, I don't see any DNS queries from the TV towards the DNS server.
Interestingly, the problem only occurs in the official Jellyfin application for Android TV. If I use TV's web browser and navigate to http://jellyfin.lan/, it opens normally. I can see the DNS query in the PiHole console.
Bottom line: All devices on the local network can connect to Jellyfin on http://jellyfin.lan/. My Sony TV with Android TV can connect to Jellyfin using its built-in web browser. However, when I try to connect using the official Jellyfin application for Android TV, I get "Unable to connect" errors.
I tried unplugging the TV from electricity and plugging it in again. I also tried reconnecting the TV's Ethernet cable. Nothing helped so far. Does anybody have an idea why Jellyfin TV app can't connect to my Jellyfin server?