From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #7677: listen_address 'localhost' listens not to IPv6 ::1
Date: Mon, 19 Nov 2012 22:41:08 -0800
Message-ID: <50AB2604.5090203@hogranch.com> (raw)
In-Reply-To: <E1TaRMb-00045H-Hl@wrigleys.postgresql.org>
References: <E1TaRMb-00045H-Hl@wrigleys.postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: pierce@hogranch.com
Subject: Re: BUG #7677: listen_address 'localhost' listens not to IPv6 ::1
In-Reply-To: <50AB2604.5090203@hogranch.com>
References: <E1TaRMb-00045H-Hl@wrigleys.postgresql.org> <50AB2604.5090203@hogranch.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox