invalid ip addr on hg serve

Paul Moore p.f.moore at
Thu Mar 27 06:48:12 CDT 2008

On 27/03/2008, TK Soh <teekaysoh at> wrote:
> What does 'all interfaces' refer to? Sorry I am not familiar with the concept.

If your machine has multiple network cards or IP addresses (for
example, 'localhost'= and the IP address assigned by your
ISP) then having hg serve listen on all interfaces means that people
can get to it regardless of what IP address they use to talk to your

If you have a PC on an internal network, where the PC is also
connected to the internet, you might well want only internal users to
be able to connect to your hg server. In that case, is a bad
choice, and you would specify your internal IP address, so that
internet users couldn't connect.

Using simply means that anyone who can get to your PC can also
get to the hg server, which is a reasonable, permissive default.

Hope that helps,

More information about the Mercurial mailing list