pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: gilberto.castillo@etecsa.cu
Cc: Dyonisius Visser <visser@terena.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Listen on IPv6 only
Date: Thu, 10 Mar 2011 13:37:07 -0500 (EST)
Message-ID: <201103101837.p2AIb7k12435@momjian.us> (raw)
In-Reply-To: <1299677993.10591.1.camel@gilbertoc.mtcorp.etecsa.cu>

Gilberto Castillo Martínez wrote:
> 
> 
> 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!!.

Interesting.  How would someone listen only on IPv4 addresses?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



view thread (16+ messages)  latest in thread

Message-ID: <201103101837.p2AIb7k12435@momjian.us>
Permalink:  ../201103101837.p2AIb7k12435@momjian.us/
Also on:    postgresql.org/message-id/201103101837.p2AIb7k12435@momjian.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, gilberto.castillo@etecsa.cu, visser@terena.org
  Subject: Re: Listen on IPv6 only
  In-Reply-To: <201103101837.p2AIb7k12435@momjian.us>

* 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