#4577·umami

Not listening on all interfaces when running in pod

Author: LombraCreated Sep 27, 2026Updated Sep 28, 2026

Describe the Bug

Hi,

This might be more of a Podman issue, but when I run umami in a Podman pod, the server binds to the container's (pod's) IP address. It no longer responds to localhost/127.0.0.1, causing the healthcheck to fail.

bash
sudo podman pod create --net proxy --userns auto:size=65536 umami-pod
sudo podman run --pod umami-pod --name postgres -d -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres docker.io/postgres:15-alpine
sudo podman run --pod umami-pod --name umami-app -e DATABASE_TYPE=postgresql -e DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres" --health-cmd "curl http://localhost:3000/api/heartbeat" ghcr.io/umami-software/umami:latest

Workarounds are obvious, but it would be cool if you were able to use localhost.

Database

PostgreSQL

Relevant log output

bash
▲ Next.js 16.3.4
- Local:         http://umami-pod:3000
- Network:       http://umami-pod:3000
✓ Ready in 0ms
✓ Running next.config took 0.9ms


$ netstat -ltn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN
tcp        0      0 10.20.1.11:3000         0.0.0.0:*               LISTEN
tcp        0      0 ::1:5432                :::*                    LISTEN


curl: (7) Failed to connect to localhost:3000 after 0 ms: Could not connect to server

Which Umami version are you using?

3.4.0

How are you deploying your application?

Podman

Which browser are you using?

No response