How to configure properly Visual studio tools to work behind a proxy ?
Go to command prompt or terminal depending on your machine(tip: hit Win + R and type cmd). In the command prompt type the following command npm config set proxy http://<username><password>@proxy-server-url>:<port> then config set https-proxy http://<username><password>@proxy-server-url>:<port> .
npm config set proxy http://proxyuser:[email protected]:8080
.npm config set https-proxy http://proxyuser:[email protected]:8080
.git config --global http.proxy http://proxyuser:[email protected]:8080
.git config --global https.proxy http://proxyuser:[email protected]:8080
.Write
{
"registry": "http://bower.herokuapp.com",
"proxy": "http://proxyuser:[email protected]:8080",
"https-proxy": "http://proxyuser:[email protected]:8080"
}
WARNING: If you have specials characters in your proxy password, you must encode the proxy url. Example:
Et Voilà :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With