invalid ip addr on hg serve

Kevin Greiner greinerk at gmail.com
Thu Mar 27 08:54:31 CDT 2008


On Thu, Mar 27, 2008 at 8:58 AM, TK Soh <teekaysoh at gmail.com> wrote:

> On Thu, Mar 27, 2008 at 12:00 PM, Martin Geisler <mg at daimi.au.dk> wrote:
> >
> >  Your computer can have several "network interfaces". If you have two
> >  network cards in the machine, then there will be a network interface
> >  for each.
> >
> >  But your computer also has a "virtual" network card which listens to
> >  the address 127.0.0.1 also known as localhost. This interface is
> >  always present and is often used for TCP communication between
> >  processes that live on the same machine.
>
> Thanks to everyone on helping to clarify this. I'd suppose relatively
> few users have more than one network card? ;-)
>

My work laptop has two NICs: wired and wireless. And I get a virtual NIC
when I'm connected to the corporate VPN. So that's three although I
typically only have 2 active (wireless and VPN) when I'm out of the office.

I agree: the message could be more clear. Why not replace 0.0.0.0 with "<all
interfaces>"?

Or, perhaps, 'hg help serve' could document -a's default as "(default: all
interfaces)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080327/868f9c28/attachment.htm 


More information about the Mercurial mailing list