Local workstation as Mercurial server
I am trying to follow the instructions posted here but am getting stuck at step 3. After setting up my local workstation to serve the Repository; I cannot c开发者_运维百科lone it from my server. When I run the following command
hg clone http://COMPUTER-XXXXX.hsd1.va.comcast.net:8000/
I receive
abort: error: getaddrinfo failed
What am I missing? I am running TortoiseHg on my Windows XP laptop and a Server 2008 set up on a VM. Thanks.
Are you sure your server is able to reach the work station by name? Try this on the command line:
ping COMPUTER-XXXXX.hsd1.va.comcast.net
It looks like the DNS lookup is failing, but that's just a guess.
Perhaps try cloning by IP?
hg clone http://192.168.1.134:8000
or whatever the IP of your desktop is?
(also there's no trailing period after your clone command, right?)
Reading this issue: https://www.mercurial-scm.org/bts/issue535 it seems that other people had problems with their http proxy settings on windows. Could you try editing the proxy settings in IE and set "direct connect to the internet" (or something like that) instead, to see if this works around your problem ? Then as someone suggested it might be a firewall problem: you might want to try to "telnet < machine > 8000" to see if the port is blocked somewhere or not (but the error messages looks more like a name resolution problem..).
Hope it'll help.
Try changing 'HTTPS' to 'HTTP'.
Also check your proxy settings. If you're behind a corporate firewall, you may need to go into Global Settings --> Proxy and copy your proxy server address and port into the Host field.
I had same problem but i was connecting to CVS through VPN and VPn was not active on my machine resulted in this error....once i started VPN, it went through
精彩评论