push failed: Failed to connect to 127.0.0.1 port 10010: Connection refused

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='''

你可能感兴趣的:(push failed: Failed to connect to 127.0.0.1 port 10010: Connection refused)