当前位置:   article > 正文

ubantu:fatal: unable to access ‘http://github.com/‘: Failed to connect to 127.0.0.1 port 1080:_ubuntu fatal: unable to access

ubuntu fatal: unable to access

1、报错信息

fatal: unable to access 'http://github.com/xx/xxx.git/': Failed to connect to 127.0.0.1 port 1080: Connection refused

  • 1
  • 2

2、问题解决

将https修改为git就好了

eg:  

git clone https://github.com/xxx/xxxx.git
fatal: unable to access 'http://github.com/xx/xxx.git/': Failed to connect to 127.0.0.1 port 1080: Connection refused


修改成:
git clone git://github.com/xxx/xxxx.git


  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号