[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] web: default to INADDR_ANY instead of INADDR_LOOPBACK
From: |
Dr. Arne Babenhauserheide |
Subject: |
Re: [PATCH] web: default to INADDR_ANY instead of INADDR_LOOPBACK |
Date: |
Thu, 03 Feb 2022 08:25:05 +0100 |
User-agent: |
mu4e 1.6.10; emacs 27.2 |
Aleix Conchillo Flaqué <aconchillo@gmail.com> writes:
> Using INADDR_ANY instead of INADDR_LOOPBACK makes it convenient when
> starting the web server inside containers without the need to having to
> specify INADDR_ANY all the time. This is the default in most libraries
> and languages.
>
> This doesn't break backwards compatibility since INADDR_LOOPBACK is also
> included in INADDR_ANY.
I’d like to know whether there was a specific reason not to use it.
I prefer the new behavior (ANY), because it’s less surprising (it once
surprised me that it was different).
It might be an option to switch to IPV6 ANY instead to get a real ANY.
But there are different opinions about this.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
signature.asc
Description: PGP signature