invalid ip addr on hg serve

Benoit Boissinot bboissin at gmail.com
Wed Mar 26 20:04:19 CDT 2008


On Thu, Mar 27, 2008 at 1:44 AM, TK Soh <teekaysoh at gmail.com> wrote:
> I noticed hg serve in Mercurial 1.0 always shows the IP address as 0.0.0.0:
>
>     % hg version
>     Mercurial Distributed SCM (version 1.0)
>
>     Copyright (C) 2005-2008 Matt Mackall <mpm at selenic.com> and others
>     This is free software; see the source for copying conditions. There is NO
>     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>     % hg serve -v
>     listening at http://XXX.YYYY.net:8000/ (0.0.0.0:8000)
>
>
>  What am I missing?

It means hg is listening on all interfaces, you can use -a to only
listen on localhost
for example.

regards,

Benoit


More information about the Mercurial mailing list