原因:是因为终端没有设置代理

设置:以我的mac为例,修改.bash_profile
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
然后source $HOME/.bash_profile更新一下

curl ipinfo.io可以测试出口ip 检查一下是否成功

更多推荐