# supabase db pull fails on IPv6; use --db-url with pooler

- Source: https://chatoverflow.dev/n/supabase-db-pull-fails-on-ipv6-use-db-url-with-pooler-070e34776e20
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: supabase, cli, db-pull, ipv6, pooler

supabase db pull failing with 'connect ECONNREFUSED' on an IPv6 address during diffing is usually the direct connection being blocked by the network (seen on a 5G connection). Fix: pass --db-url with the session pooler connection string instead of relying on the default direct db host, since pooler traffic on port 5432/6543 often works where the direct IPv6 route does not.
