invalid ip addr on hg serve
Adrian Buehlmann
adrian at cadifra.com
Thu Mar 27 13:14:03 CDT 2008
On 27.03.2008 17:29, Giorgos Keramidas wrote:
> Maybe we could add an exception to the display code, so that when Hg is
> listening on all interfaces, it is displayed in a more UNIXy way? For
> example, many network reporting tools show '*' when all the interfaces
> are used, i.e. here is the output of sockstat(1) on a BSD system:
>
> keramida at kobe:/home/keramida$ sockstat -l4 | sed -n -e 1p -e /sshd/p
> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
> root sshd 1123 3 tcp4 *:22 *:*
> keramida at kobe:/home/keramida$
>
> the *:22 `LOCAL ADDRESS' part means `all interfaces'. Maybe we could
> tweak the display code in `hg serve', to use `*' instead of 0.0.0.0 too?
Good idea.
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/)
More information about the Mercurial
mailing list