invalid ip addr on hg serve

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Mar 29 18:34:51 CDT 2008


On Fri, 28 Mar 2008 02:00:12 +0100, Adrian Buehlmann <adrian at cadifra.com> wrote:
> 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/" ?

That's probably a `missing feature' in the way Windows XP handles
address binding.  On UNIX systems it has traditionally been possible to
connect to the IP address 0.0.0.0 and get redirected to localhost:

: kobe % telnet 0.0.0.0 25
: Trying 0.0.0.0...
: Connected to 0.0.0.0.
: Escape character is '^]'.
: 220 kobe.laptop ESMTP Sendmail 8.14.2/8.14.2; Sun, 30 Mar 2008 01:32:52
: +0200 (EET)
: ^]
: telnet> q
: Connection closed.
: kobe %



More information about the Mercurial mailing list