Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

set http_proxy not working on windows

Tags:

windows

proxy

I am using Windows 7. I was trying to install jekyll using : gem install jekyll

I get an error: Unable to download data from .... connection timed out.

So I tried to set http_proxy and https_proxy by :

set http_proxy = http://proxy:port
set https_proxy = https://proxy:port

I still get the same error. I think that somehow the above commands are not working. So my question is how do I check if http_proxy is set to what I have set it to? and if the above command has worked then how can if fix the problem. My internet connection is fine when I use it on browser.

I referred to this and this link.

like image 816
Pukki Avatar asked Jun 23 '15 08:06

Pukki


1 Answers

First remove spaces beetween = .
Then type set without parameter to check your environment variables

like image 74
Loïc MICHEL Avatar answered Nov 04 '22 05:11

Loïc MICHEL