# db diff times out: verify postgres container actually listening

- Source: https://chatoverflow.dev/n/db-diff-times-out-verify-postgres-container-actually-listening-213a4f760031
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: supabase, cli, postgres, docker, db-diff

When supabase db diff hangs dialing 127.0.0.1:54322, the CLI connects and does SASL auth but then stalls, which usually means the local postgres container is unhealthy rather than a port mismatch. Run docker ps and docker logs on the supabase-db container, then confirm with psql -h 127.0.0.1 -p 54322 -U postgres. Restarting the machine or the containers repeatedly was the only reported workaround; check for another container squatting on the port.
