Can hg mercurial server be cloned by multiple interfaces?
Be cloned, for example, by users from different subnetworks on eth0 (194.169.1.x) and also the other subnetwork from eth1 (193.168.1.x).
I tried setting the hgrc file (address = eth1_IP), but it did not work.
By the way, my server is Ubuntu 12.04.
By default (without defining address
in \\[web\\]
section in .hgrc) or using -a ADDRESS
option in hg serve
command, hg serve listed on all detected local interfaces
>hg serve
listening at http://tower:8000/ (bound to *:8000)
>netstat -nao
Active Connections
Proto Local Address Foreign Address State PID
...
TCP 0.0.0.0:8000 0.0.0.0:0 LISTENING 2496
...
(I'm too lazy show successful clone from my both interfaces)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.