git clone http/https 报错 10054/443 问题

文章目录

  • 错误
  • 解决方案
    • [1 关闭http和https代理](#1 关闭http和https代理)
    • [2 设置自己的代理](#2 设置自己的代理)

错误

错误 Failed to connect to github.com port 443: Timed out OpenSSL SSL_read: Connection was reset, errno 10054 一般都是网络问题

解决方案

1 关闭http和https代理

go 复制代码
git config --global --unset http.proxy

git config --global --unset https.proxy

2 设置自己的代理

1.按win键 2 打开设置 3 在网络和Internet找到自己的代理端口(我的是7890)4 然后命令行修改代理

go 复制代码
git config --global https.proxy http://127.0.0.1:7890

git config --global https.proxy https://127.0.0.1:7890

查看git当前代理设置

go 复制代码
git config --global --get http.proxy

git config --global --get https.proxy
相关推荐
Sagittarius_A*3 小时前
Web 安全之 Git 泄露:原理剖析 + CTFHub Log/Stash/Index 全题型解法
git·安全·web安全
lazy H4 小时前
从入门到日常开发,一篇文章掌握 Git 核心操作
git·后端·学习·github
zzqssliu11 小时前
煤炉自动代拍系统的队列设计与超时控制机制
git·github
一支绝命钩12 小时前
FPGA工程Git常用操作手册
git
不搞学术柒柒16 小时前
Git新功能完整开发提交流程
git
午安~婉20 小时前
Git中SSH连接
前端·git·gitee
888CC++21 小时前
VS Code Git 工作树:解锁多分支并行开发新体验
git
阿虎儿21 小时前
Git exclude 功能解析
git
隔窗听雨眠1 天前
VS Code Git工作树:多分支并行开发的完整实践方案
git
^yi1 天前
【Linux系统编程】快速上手git仓库管理,核心三板斧
git