From: Robert Pluim <rpluim@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 34617@debbugs.gnu.org
Subject: bug#34617: 27.0.50; Can't bind a server process to all interfaces?
Date: Fri, 22 Feb 2019 15:25:22 +0100 [thread overview]
Message-ID: <m2sgwfrjcd.fsf@gmail.com> (raw)
In-Reply-To: <m336of6hqi.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 22 Feb 2019 15:05:41 +0100")
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Somebody on irc told me that
>>
>> :host "0.0.0.0"
>>
>> will give me the INADDR_ANY thing I want... So perhaps that should just
>> be added to the doc string?
>
> And the same somebody pointed out that then you can't listen to ipv6 and
> ipv4 at the same time. Probably?
>
You can, by listening to "::" but it depends on the underlying stack
whether it works or not. It works for me :-)
> So perhaps there should be a
>
> :host 'any
>
> thing to just listen to a port on all available interfaces...
Sure, as long as we make it error out if :family is specified, unless
you want
:family 'ipv6
:host 'any
to mean 'listen only on IPv6' interfaces and similarly for 'ipv4.
Robert
next prev parent reply other threads:[~2019-02-22 14:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-22 13:43 bug#34617: 27.0.50; Can't bind a server process to all interfaces? Lars Ingebrigtsen
2019-02-22 13:51 ` Lars Ingebrigtsen
2019-02-22 14:05 ` Lars Ingebrigtsen
2019-02-22 14:25 ` Robert Pluim [this message]
2019-02-22 14:28 ` Lars Ingebrigtsen
2019-02-22 15:39 ` Robert Pluim
2019-09-21 8:00 ` Lars Ingebrigtsen
2019-02-22 14:00 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2sgwfrjcd.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=34617@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.