Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TahWN-0002lN-2r for pgsql-bugs@postgresql.org; Tue, 20 Nov 2012 06:41:23 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TahWK-0000v0-Uv for pgsql-bugs@postgresql.org; Tue, 20 Nov 2012 06:41:22 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id qAK6fD913678 for ; Mon, 19 Nov 2012 22:41:13 -0800 Message-ID: <50AB2604.5090203@hogranch.com> Date: Mon, 19 Nov 2012 22:41:08 -0800 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #7677: listen_address 'localhost' listens not to IPv6 ::1 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201211/153 X-Sequence-Number: 34711 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