Skip site navigation (1) Skip section navigation (2)

FATAL: no pg_hba.conf entry for host “::1”

From: morny <info(at)tiltdemon(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: FATAL: no pg_hba.conf entry for host “::1”
Date: 2009-12-05 17:37:19
Message-ID: 26657579.post@talk.nabble.com (view raw or flat)
Thread:
Lists: pgsql-general
Hi,

Im using an application that connects to postgreSQL, now its being tested on
a few machines and connects fine but on 1 machine i get this FATAL: no
pg_hba.conf entry for host “::1”, user “postgres”, database “myDatabase",
SSL off.

Heres the HBACONFIG FILE DETAILS
# TYPE DATABASE USER CIDR-ADDRESS METHOD

# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
#host all all ::1/128 md5

So the issue seems to be with the last line on IPv6, to be honest i dont
even know what IPv6 is, could disabling IPv6 do the trick or do i need to
add something?

The funny thing is with the exact same details a different application
connects to postgreSQL fine? Any ideas and bare in mind im a newbie when
explaining
-- 
View this message in context: http://old.nabble.com/FATAL%3A-no-pg_hba.conf-entry-for-host-%E2%80%9C%3A%3A1%E2%80%9D-tp26657579p26657579.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


Responses

pgsql-general by date

Next:From: DanielDate: 2009-12-05 18:45:16
Subject: Re: Examples of using PQexecParams
Previous:From: Perry SmithDate: 2009-12-05 16:16:58
Subject: tsvector from external files

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group