Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
doc: clarify the behavior of unopenable listen_addresses
authorBruce Momjian <bruce@momjian.us>
Tue, 26 Sep 2023 23:02:18 +0000 (19:02 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 26 Sep 2023 23:02:18 +0000 (19:02 -0400)
Reported-by: Gurjeet Singh
Discussion: https://postgr.es/m/CABwTF4WYPD9ov-kcSq1+J+ZJ5wYDQLXquY6Lu2cvb-Y7pTpSGA@mail.gmail.com

Backpatch-through: 11

doc/src/sgml/config.sgml

index bc140c35667a2d4174233f8aacd1695082c91485..431701d2ecff49ca41edb452b68c3b41472a4b2e 100644 (file)
@@ -656,10 +656,15 @@ include_dir 'conf.d'
          <literal>::</literal> 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.
+         to it.  If the list is not empty, the server will start if it
+         can listen on at least one TCP/IP address.  A warning will be
+         emitted for any TCP/IP address which cannot be opened.
          The default value is <systemitem class="systemname">localhost</systemitem>,
          which allows only local TCP/IP <quote>loopback</quote> connections to be
-         made.  While client authentication (<xref
+         made.
+       </para>
+       <para>
+         While client authentication (<xref
          linkend="client-authentication"/>) allows fine-grained control
          over who can access the server, <varname>listen_addresses</varname>
          controls which interfaces accept connection attempts, which