解决方法:

1. 查看端口是否被占用:lsof -i:1087

若没有返回则没有占用。

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

返回结果:
mac git拉取失败 Failed to connect to 127.0.0.1 port 1087: Connection refused

结论:使用代理导致访问失败

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案