FG
💻 Software

How do I clone a repository when I'm behind a proxy?

Fresh5 days ago
Mar 15, 202610746 views
Confidence Score0%
0%

Problem

There's an option which should allow access through proxy, but it's not clear whether this should be in the command line, or some global variable. I tried it in the command line: but I still get a Connection timed out error.

Error Output

hg --config=http_proxy.host=_proxy server_

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I clone a repository when I'm behind a proxy?

Low Risk

It's actually an environment variable, so try You should replace 4242 with whatever port your proxy is running on.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment