Git remote clone failed on client, but succeed on server directly

0
I have setup GitStack on remote server. Now I want to clone the repository to local machine, but it failed

Server Environment:
GitStack-2.2.3,
Git-1.7.10,
Windows 7
Client Environment:
Git-1.7.10
Windows 7

Step 1: If I run the clone command directly on the server, it works,
$Git clone http://robin@localhost:8082/TestGit.git
or
$ git clone 10.158.169.66:8082/TestGit.git

Step 2: If I run the same command on a client machine. The clone will fail with the following error message:
Cloning into ‘TestGit’… error: Failed connect to `10.158.169.66:1080;` No error while accessing      `http://robin@10.158.169.66:8082/TestGit.git/info/refs` fatal: HTTP request failed

My troubleshooting process:
1. As I mentioned above, I have run the same command on server directly, it works.
2. I have checked the TCP port 1080 and 8082. Both of them are enabled. Both Inbound and Outbound rules have been added to firewall
3. The server is accessible since I can browse the repository on client machine through browser.

Question:
I don’t know what’s the root cause. Could you give me some suggestion?
Tags: asked September 6, 2012

1 Answer

0
I have replied yesterday on your stack overflow post : http://stackoverflow.com/questions/12258673/git-remote-clone-failed-but-succeed-on-local-machine
We will keep only the stack overflow thread.

Your Answer

Please login to post questions.