invalid ip addr on hg serve
Adrian Buehlmann
adrian at cadifra.com
Fri Mar 28 01:00:12 UTC 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 0.0.0.0:8000, and from
> the local host the repository can be accessed at http://0.0.0.0:8000/,
> so that address / URL should be the first to mention.
When doing
> hg serve -v
listening at http://snoopy:8000/ (0.0.0.0:8000)
and pointing Firefox at http://0.0.0.0:8000/ I get a "Unable to connect"
on my WinXP.
Did you mean "the repository can be accessed at http://127.0.0.1:8000/" ?
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