Im getting this error with postgre in my centos vps
Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry
for host "::1", user "xxx", database "xxx_xxx", SSL off in
Here is my pg_hba.conf
local all all md5
host all all 127.0.0.1/32 md5
Everything seems right, but always get this error, no matter what user i create and set.
Best Answer
"::1"
means that you're connecting via IPv6.Either specify
-h 127.0.0.1
or add/uncomment an entry to/inpg_hba.conf
: