当前位置:   article > 正文

idea从码云克隆项目:Failed to connect to 127.0.0.1 port 1181 问题解决_idea 克隆unable to access

idea 克隆unable to access

项目场景:

用IDEA克隆码云项目时报地址拒绝问题
在这里插入图片描述


问题描述:

Clone failed:
Unable to access ‘https://gitee.com/kekingcn/file-online-preview.git/’:
Failed to connect to 127.0.0.1 port 1181: Connection refused

Clone failed: Unable to access 'https://gitee.com/kekingcn/file-online-preview.git/': Failed to connect to 127.0.0.1 port 1181: Connection refused
  • 1

原因分析:

从远程仓库下载代码出现上述的错误是因为使用了proxy代理,所以要解决该问题,核心操作就是要取消代理


解决方案:

//查看git的http代理配置
$ git config --global http.proxy

//取消git的http代理配置
$ git config --global --unset  http.proxy

(或者)

//查看git的https代理配置
$ git config --global https.proxy

//取消git的https代理配置
$ git config --global --unset  https.proxy


  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15

在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/283363
推荐阅读
相关标签
  

闽ICP备14008679号