invalid ip addr on hg serve

Adrian Buehlmann adrian at
Thu Mar 27 20:00:12 CDT 2008

On 28.03.2008 01:15, Mads Kiilerich wrote:
> Adrian Buehlmann wrote, On 03/27/2008 07:14 PM:
>> But with (A)
>>   $ hgd serve -v
>>   listening at http://snoopy:8000/ (*:8000)
>> maybe someone will ask then what the star means :-)?
>> Some more ideas:
>>   (B) listening at http://snoopy:8000/ (address *:8000)
>>   (C) listening on address *:8000 (http://snoopy:8000/)
> Mercurial knows that it is listening precisely at, and from 
> the local host the repository can be accessed at, 
> so that address / URL should be the first to mention.

When doing

> hg serve -v
listening at http://snoopy:8000/ (

and pointing Firefox at I get a "Unable to connect"
on my WinXP.

Did you mean "the repository can be accessed at" ?

I'd prefer (C) or something too. Maybe:

  (D) listening on address *:8000 (try http://localhost:8000/)
"try" as a hint that we don't intend to list all possible DNS's.

I can't comment on the code issues you mention, as I'm not qualified
on network programming.

More information about the Mercurial mailing list