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

上一篇:编程小记录——Leetcode 215


下一篇:215