push failed: Failed to connect t

2019-07-22  本文已影响0人  晓晓桑

mac解决:
分析:

  1. lsof -i:10010 发现端口未被占用

  2. 查看代理:env|grep -i proxy

NO_PROXY=localhost,127.0.0.0/8,::1

http_proxy=http://127.0.0.1:10010/

https_proxy=http://127.0.0.1:10010/
HTTPS_PROXY=http://127.0.0.1:10010/
no_proxy=localhost,127.0.0.0/8,::1
export HTTPS_PROXY='''
over

HTTP_PROXY=http://127.0.0.1:10010/

故:使用代理导致访问失败

解决:

export http_proxy='''

export https_proxy='''

export HTTP_PROXY='''

上一篇 下一篇

猜你喜欢

热点阅读