Tuesday, December 29, 2015

How to Set Proxy in Command Prompt?

For http/https proxy with authentication, run the following commands in cmd.exe

set http_proxy=http://username:password@your_proxy:your_port
set https_proxy=https://username:password@your_proxy:your_port

For http/https proxy without authentication, run the following commands in cmd.exe

set http_proxy=http://your_proxy:your_port
set https_proxy=https://your_proxy:your_port

No comments: