Friday, 15 July 2016

How to set proxy in order to access another network ?


Run below commands to enable proxy for requests


export http_proxy=http://<user>:<password>@<proxy-host>:<proxy-port>
export https_proxy="http://<user>:<password>@<proxy-host>:<proxy-port>"

Example

export http_proxy=http://SHAH1776:Shaan123@proxy.mycompany.com:8080
export https_proxy="http://SHAH1776:Shaan123@proxy.mycompany.com:8080"


No comments:

Post a Comment

Note: only a member of this blog may post a comment.