invalid ip addr on hg serve
TK Soh
teekaysoh at gmail.com
Thu Mar 27 14:03:38 UTC 2008
On Thu, Mar 27, 2008 at 1:54 PM, Kevin Greiner <greinerk at gmail.com> wrote:
>
>
> 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.
You are right. I totally missed that :P
> 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)"
IMHO, anything is better than 0.0.0.0 ;-)
More information about the Mercurial
mailing list