invalid ip addr on hg serve

Mads Kiilerich mads at
Fri Mar 28 04:34:03 CDT 2008

TK Soh wrote:
>>  and pointing Firefox at I get a "Unable to connect"
>>  on my WinXP.
> I am having this problem, too. 

Right, I was wrong, it seems to be platform dependent.

> On one hand, it gives the url with
> hostname, but the IP is, which does not correspond to the said
> hostname.
> It's just confusing.

Yes, but that boils down to networking is confusing in general. Network 
interfaces have IP numbers, and IP numbers have DNS names. A machine has 
one hostname which might match one of the DNS names, but that can't be 
relied on. A hostname is really only what a machine calls itself, and it 
has nothing to do with the rest of the world. Listening on 
listens on all the IP numbers a host has, and in some way it is thus the 
closest you get to the "hostname".

> I think the [Mercurial] users should be the focus here. We can't
> expect every user to posses in-depth knowledge in networking. Simply
> saying is a standard notation would be a cop-out.

Agreed. But this isn't MS. Mercurial is a tool in the unix tradition. It 
is important have focus on users, but it is even more important to tell 
them the truth, let them know what is going on, and thus educate them. 
So I think that first telling exactly what is going on, and then giving 
the friendly almost-but-not-completely-reliable hint would satisfy all 


-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Mercurial mailing list