Re: BUG #7677: listen_address 'localhost' listens not to IPv6 ::1 - Mailing list pgsql-bugs

From John R Pierce
Subject Re: BUG #7677: listen_address 'localhost' listens not to IPv6 ::1
Date
Msg-id 50AB2604.5090203@hogranch.com
Whole thread Raw
In response to BUG #7677: listen_address 'localhost' listens not to IPv6 ::1  (bugs@ttyhoney.com)
List pgsql-bugs
On 11/19/12 5:26 AM, bugs@ttyhoney.com wrote:
> What I expect:
> localhost means 127.0.0.1 if IPv4 is available OR ::1 if IPv6 is available.
> This is a logical OR, that means booth at the same time are possible.

there's no magic to the name localhost, its just a hostname like any other.

whats in your /etc/hosts file?

I've seen systems where localhost is 127.0.0.1 and localhost6 is ::1...
RHEL systems come that way.

127.0.0.1           localhost.localdomain localhost
::1                 localhost6.localdomain6 localhost6



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

pgsql-bugs by date:

Previous
From: bugs@ttyhoney.com
Date:
Subject: BUG #7677: listen_address 'localhost' listens not to IPv6 ::1
Next
From: Peter Kroon
Date:
Subject: npgssql 5gb installation