From 9dcdb1384df51a568af5ec35c9f0a762d3cf205b Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Tue, 24 Sep 2019 13:52:48 +0200 Subject: [PATCH] Document how to listen on all interfaces in the Elisp manual * doc/lispref/processes.texi (Network Processes): Explain how to listen on all interfaces. --- doc/lispref/processes.texi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 2ba5b1c893a..287221a184d 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -2685,7 +2685,11 @@ the local host. If you specify @var{host} for a server, it must specify a valid address for the local host, and only clients connecting to that address will be accepted. When using @code{local}, by default IPv4 will be used, specify a @var{family} of @code{ipv6} to -override this. +override this. To listen on all interfaces, specify an address of +@samp{"0.0.0.0"} for IPv4 or @samp{"::"} for IPv6. Note that on some +operating systems, listening on @samp{"::"} will also listen on IPv4, +so attempting to then listen separately on IPv4 will result in +@code{EADDRINUSE} errors (@samp{"Address already in use"}). @item :service @var{service} @var{service} specifies a port number to connect to; or, for a server, -- 2.39.2