[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-devel
Subject:    Re: /etc/hosts and resolving of the local host/domainname - 127.0.0.1 vs. 127.0.1.1
From:       Peter Samuelson <peter () p12n ! org>
Date:       2013-07-31 21:42:29
Message-ID: 20130731214229.GA6147 () p12n ! org
[Download RAW message or body]


> On Wed, 2013-07-31 at 01:30 +0100, Steve Langasek wrote:
> > That's correct.  If you want to talk to a loopback-only service,
> > you should be connecting to 'localhost', *not* to the hostname.

[Christoph Anton Mitterer]
> Well why not? Imagine that one server in a cluster serves a debian
> package repo (e.g. via http)...

That doesn't sound like a "loopback-only service" at all.


> - let the webserver listen as well on 127.0.1.1,... sure that works but
> it's rather ugly to make such special handling... and not all services
> are even able to bind to multiple addresses.

Special handling?  No, I'm pretty sure the default for all web servers
in Debian is to listen on INADDR_ANY.  That's not special handling at
all.  Special handling would be to listen on 11.22.33.44 and 127.0.0.1
specifically.


-- 
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20130731214229.GA6147@p12n.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic