Caddy is working but apps can't connect when local

1. The problem I’m having:

Hi everyone, I recently got caddy up and running on my home server and have a few apps like jellyfin and nextcloud routed through it for a reverse proxy. I can access these services from devices connect to the lan and devices outside my home network however devices like my phone (andriod) when on the wifi can only connect to the services through the browser and not each services dedicated app. All apps and caddy are running in docker containers.

2. Error messages and/or full log output:

No error messages show up in the logs

3. Caddy version:

v2.7.4 h1:J8nisjdOxnYHXlorUKXY75Gr6iBfudfoGhrJ8t7/flI=

4. How I installed and ran Caddy:

version: "3.9"

services:
  caddy:
    image: caddy:latest
    restart: unless-stopped
    hostname: caddy
    ports:
      - "80:80"
      - "443:443"
      - "443:443/udp"
    volumes:
      - ./Caddyfile:/etc/caddy/Caddyfile
      - ./site:/srv
      - caddy_data:/data
      - caddy_config:/config

volumes:
  caddy_data:
  caddy_config:

networks:
  default:
    name: caddy_network
    external: true

Ran with:

sudo docker compose up -d

a. System environment:

Linux rapture 5.15.0-86-generic #96-Ubuntu SMP Wed Sep 20 08:23:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Docker Compose version v2.21.0

d. My complete Caddy config:

mypihole.duckdns.org {
        reverse_proxy 192.168.40.11:1080
}
mynextcloud.duckdns.org {
        reverse_proxy nextcloud:443 {
                transport http {
                        tls_insecure_skip_verify
                }
        }
        header {
                Strict-Transport-Security max-age=31536000;
        }
        redir /.well-known/webfinger /public.php?service=webfinger 301
}
myphotoview.duckdns.org {
        reverse_proxy photoview:80
}
myjellyfin.duckdns.org {
        reverse_proxy jellyfin:8096
}

Are you able to open them with the browser on your phone? If so, then the problem isn’t with Caddy and it must be a problem with the apps themselves.

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