Answer the question
In order to leave comments, you need to log in
Why doesn't connecting to Postgres work without IPv6 permission?
Can't figure out why on Debian the connection to PostgreSQL doesn't work without IPv6 permission?
host all all ::1/128 trust
Answer the question
In order to leave comments, you need to log in
So you are connecting via ipv6.
On localhost, unixsock is usually used in general, and not tcp loopback.
But in general, it is quite common practice to prefer ipv6 if the application did not explicitly specify the protocol, and the host addresses are known for both v6 and v4. You probably have both addresses in /etc/hosts for localhost.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question