Re: BUG #7677: listen_address 'localhost' listens not to IPv6 ::1

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7677: listen_address 'localhost' listens not to IPv6 ::1
Date: 2012-11-20 06:41:08
Message-ID: 50AB2604.5090203@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 11/19/12 5:26 AM, bugs(at)ttyhoney(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Kroon 2012-11-20 10:26:22 npgssql 5gb installation
Previous Message Hari Babu 2012-11-20 04:31:59 Re: BUG #7643: Issuing a shutdown request while server startup leads to server hang