vscode使用 git时,发生错误"Failed to connect to 127.0.0.1 port 1080 after 2078 ms: Couldn’t connect to server"

原因:网速过慢

解决方法

先设置全局代理

git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080

然后在取消全局代理

git config --global --unset http.proxy
git config --global --unset https.proxy

就可以正常git clone 或push、pull了。如下图:

vscode git错误“Failed to connect to 127.0.0.1 port 1080 after 2078 ms: Couldn‘t connect to server“相关推荐

  1. 解决git下载出现:Failed to connect to 127.0.0.1 port 1080: Connection refused拒绝连接错误

    解决git下载出现:Failed to connect to 127.0.0.1 port 1080: Connection refused拒绝连接错误 文章目录: 一.git拒绝连接原因分析 二.错 ...

  2. git遇到错误: Failed connect to github.com:443

    git遇到错误: Failed connect to github.com:443 1 错误原因 2 解决方式 3 其他方式 1 错误原因 我是在git push -u origin master时遇 ...

  3. git pull 失败:Failed to connect to 127.0.0.1 port 10080: Connection refused

    git pull失败:Failed to connect to 127.0.0.1 port 10080: Connection refused 原因分析:看报错意思是pull时将请求打到了本机的10 ...

  4. Git Failed to connect to 127.0.0.1 port 1080: Connection refused 解决

    问题 在git clone时报错:Failed to connect to 127.0.0.1 port 1080: Connection refused 解决方案: 由于设置了动态代理 执行下面命令 ...

  5. git遇到的诡异错误: Failed connect to github.com:443

    为什么会说Failed connect to github.com:443是一个诡异的问题?乍一看,写明了无法连接到github.com,ping也不通,但是获取到了github的IP(192.30. ...

  6. Failed to connect to 127.0.0.1 port 1080: Connection refused package:git

    windows平台: 解决方法: 打开c:/user/***/..gitconfig 删除一下内容: [http "https://github.com"]     proxy = ...

  7. unable to access ‘https://gitee...‘: Failed to connect to 127.0.0.1 port 31181 after 2029 ms: Connec

    idea提交推送代码到码云出现错误: unable to access 'https://gitee.com/-/': Failed to connect to 127.0.0.1 port 3118 ...

  8. 报错curl: (7) Failed to connect to 127.0.0.1 port xxxx: Connection refused

    (pyenv install xxx) 报错curl: (7) Failed to connect to 127.0.0.1 port xxxx: Connection refused的解决方法 问题 ...

  9. fatal: unable to access ‘https://github.com/xxx/‘: Failed to connect to 127.0.0.1 port 7890: Connect

    git clone 项目的时候遇到报错: fatal: unable to access 'https://github.com/xxx/': Failed to connect to 127.0.0 ...

最新文章

  1. 7段均衡器最佳调节图_超高级的吉他均衡器 更细腻的控制 你值得拥有
  2. 关于eclipse环境启动不成功的问题解决方法
  3. 下半年的电商促销决战,设计师美工准备好了么?宝藏模板拿走!
  4. CVE-2016-1240 Tomcat 服务本地提权漏洞
  5. java 线程池的原理与实现_Java线程池原理及实现
  6. python爬虫爬取英文考研词汇
  7. android深色模式省电吗,护眼又省电,深色模式真这么厉害?
  8. STC12C5A60S2A/D转换
  9. 嵌入式Linux开发-uboot常用命令介绍(上篇)
  10. 第三天---随机小方块
  11. Java经典算法——百钱百鸡
  12. Sparse coding:
  13. Python学习笔记--10.Django框架快速入门之后台管理admin(书籍管理系统)
  14. buu-misc刷题
  15. java高级之JDBC的基本操作知识
  16. NIO的原理和文件读入读出及图片拷贝的使用
  17. Problem 2261 浪里个浪(多起点与多终点问题)
  18. 2D网络游戏开发(网络篇)(一)
  19. java中double变量保留小数位数
  20. SVN1.5配置(转)

热门文章

  1. FZU Problem 1686 神龙的难题(舞蹈链)
  2. 利用组件注解符精简Spring配置文件
  3. python基于Django的汽车俱乐部管理系统vue
  4. 【室内乐】Orchestral Suite No.2 in B minor, BWV 1067, Badinerie
  5. 零跑汽车股价终于盼来了期望
  6. (转载)程序员找工作那点事儿
  7. 时间序列模型 (七): 时间序列建模的基本步骤
  8. 结构型设计模式(五) 之 享元模式是池技术的表现
  9. 秀一下我的手艺---中华五千年 火的艺术 就在这一盘
  10. 遗传算法求二元函数极值怎么编码_使用遗传算法求二元函数的最小值