From a1bb5a480df44e518957abca0de2d04aaba5bf02 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 11 Mar 2011 10:31:25 -0500 Subject: [PATCH] Document how listen_addresses can do only IPv4 or IPv6. --- doc/src/sgml/config.sgml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 8e27f730a4..0c682c833b 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -324,7 +324,9 @@ SET ENABLE_SEQSCAN TO OFF; to listen for connections from client applications. The value takes the form of a comma-separated list of host names and/or numeric IP addresses. The special entry * - corresponds to all available IP interfaces. + corresponds to all available IP interfaces. The entry + 0.0.0.0 allows listening for all IPv4 addresses and + :: allows listening for all IPv6 addresses. If the list is empty, the server does not listen on any IP interface at all, in which case only Unix-domain sockets can be used to connect to it.