您的位置:首页 > 运维架构 > Linux

Linux:proxy,,,<urlopen error [Errno 111] Connection refused>)

2018-01-13 21:58 1756 查看
declare -x HTTPS_PROXY="http://127.0.0.1:43579/"
declare -x HTTP_PROXY="http://127.0.0.1:43579/"
declare -x NO_PROXY="localhost,127.0.0.0/8,::1"


一i

declare -x http_proxy="http://127.0.0.1:43579/"
declare -x https_proxy="http://127.0.0.1:43579/"
declare -x no_proxy="localhost,127.0.0.0/8,::1"

http://linux.it.net.cn/e/Linuxit/L/2015/0406/14380.html

Linux 设置/取消代理

时间:2015-04-06 23:50来源:linux.it.net.cn
作者:IT
export http_proxy=118.210.42.251:44367

或:

export https_proxy=118.210.42.251:44367

要取消该设置:

unset http_proxy

或:

unset https_proxy
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐