Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id AA3E51337B8C for ; Wed, 9 Mar 2011 09:39:54 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 08439-08 for ; Wed, 9 Mar 2011 13:39:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from imx3.etecsa.cu (imx3.etecsa.cu [200.55.152.137]) by mail.postgresql.org (Postfix) with ESMTP id 846BB1337B97 for ; Wed, 9 Mar 2011 09:39:44 -0400 (AST) Received: from Unknown ([192.168.91.41] helo=mn1.etecsa.cu) by imx3.etecsa.cu with ESMTP id p8dX0q4n94459; Wed, 9 Mar 2011 08:39:33 -0500 Received: (qmail 5398 invoked by uid 11187); 9 Mar 2011 13:39:16 -0000 Received: from 192.168.219.193 by mn1.etecsa.cu (envelope-from , uid 502) with qmail-scanner-2.08 (spamassassin: 3.2.5. Clear:RC:1(192.168.219.193):. Processed in 0.024655 secs); 09 Mar 2011 13:39:16 -0000 Received: from unknown (HELO [192.168.219.193]) (gilberto.castillo@[192.168.219.193]) (envelope-sender ) by mn3.etecsa.cu (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Mar 2011 13:39:16 -0000 Subject: Re: Listen on IPv6 only From: Gilberto Castillo =?ISO-8859-1?Q?Mart=EDnez?= Reply-To: gilberto.castillo@etecsa.cu To: Dyonisius Visser Cc: pgsql-admin@postgresql.org In-Reply-To: References: Organization: ETECSA Date: Wed, 09 Mar 2011 08:39:53 -0500 Message-Id: <1299677993.10591.1.camel@gilbertoc.mtcorp.etecsa.cu> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-19.el5) X-SpamTest-Envelope-From: gilberto.castillo@etecsa.cu X-SpamTest-Info: Profiles 19787 [Mar 09 2011] X-SpamTest-Info: {DNSBL Rate: low} X-SpamTest-Method: none X-SpamTest-Rate: 20 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0285], KAS30/SDK/Release X-Anti-Virus: Kaspersky Mail Gateway, version: 5.6.28/RELEASE, bases: 20110309T023608 #5053569, check: 20110309 clean Content-Type: multipart/mixed; boundary="=p8dY0iJk25101=imx3.etecsa.cu=" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/95 X-Sequence-Number: 36967 This is a multi-part message in MIME format. --=p8dY0iJk25101=imx3.etecsa.cu= Content-Disposition: inline Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit El mié, 09-03-2011 a las 13:58 +0100, Dyonisius Visser escribió: > hi guys > > I am in the process of converting my network to IPv6 only (well, as > much as possible). > Since our own network has fully functional IPv6 connectivity, I should > be able to move all services that are used internally only, to IPv6 > only. > Postgres is one of those services. > > I could not find anywhere in the docs how to configure this. > However, the following seems to do the trick: > > listen_addresses = '::' > > This will make postgres listen on IPv6 only: > > root@cajones:~# telnet 127.0.0.1 5432 > Trying 127.0.0.1... > telnet: Unable to connect to remote host: Connection refused > > root@cajones:~# telnet ::1 5432 > Trying ::1... > Connected to ::1. > Escape character is '^]'. > > Might be an idea to add this to the docs. Maybe!!. -- Regards, Gilberto Castillo Edificio Beijing. Miramar Trade Center. Etecsa. Miramar, La Habana.Cuba. --=p8dY0iJk25101=imx3.etecsa.cu= Content-Type: text/plain Content-Disposition: inline --- This message was processed by Kaspersky Mail Gateway 5.6.28/RELEASE running at host imx3.etecsa.cu Visit our web-site: , --=p8dY0iJk25101=imx3.etecsa.cu=--