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:
-
Found what proxy I have
export | grep proxy
-
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