Re: Listen on IPv6 only

From: Gilberto Castillo Martínez <gilberto(dot)castillo(at)etecsa(dot)cu>
To: Dyonisius Visser <visser(at)terena(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Listen on IPv6 only
Date: 2011-03-09 13:39:53
Message-ID: 1299677993.10591.1.camel@gilbertoc.mtcorp.etecsa.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)cajones:~# telnet 127.0.0.1 5432
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
>
> root(at)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.

Attachment Content-Type Size
unknown_filename text/plain 179 bytes

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sandy Test 2011-03-09 13:58:20 FW: backup using pg_dump postgreSQL 8.3.8
Previous Message Dyonisius Visser 2011-03-09 12:58:15 Listen on IPv6 only