其他分享
首页 > 其他分享> > 2021-07-22

2021-07-22

作者:互联网

Daily log

proxy and connection error[111]:

I have encountered this while doing spiders and git push

Searched for it to find this is the proxy problem.

Fix:

  1. Found what proxy I have
    export | grep proxy

  2. In .bashrc
    alias unproxy=" unset ALL_proxy; unset all_proxy; export http_proxy=''; export https_proxy=''; export HTTP_PROXY=''; export HTTPS_PROXY='';"

If needs to add proxy
Use var like this:
alias enproxy="export ALL_proxy=socks5//127.0.0.1:1080"

Combing could have control to proxy in terminal

标签:control,07,22,alias,export,proxy,2021,unset,PROXY
来源: https://blog.csdn.net/weixin_42474121/article/details/119345306