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
相关推荐
HoneyMoose9 小时前
把 SVN 仓库转换为 Git 需要的 2 个命令
git·svn
qq_5895681017 小时前
springbootweb案例,出现访问 http://localhost:8080/list 一直处于浏览器运转阶段
java·网络协议·http·list·springboot
历程里程碑19 小时前
4 Git远程协作:从零开始,玩转仓库关联与代码同步(带实操代码讲解)
大数据·c++·git·elasticsearch·搜索引擎·gitee·github
金銀銅鐵1 天前
[git] 浅解 git reset 命令
git·后端
zhangfeng11331 天前
部署到服务器上 宝塔系统 使用宝塔在线编辑器 FTP 批量上传 Git 部署 打包上传 codebudyy 编程程序开发
服务器·git·编辑器
学习是种信仰1 天前
Git工作流
git·深度学习
Yupureki1 天前
《Linux网络编程》5.HTTPS协议
linux·网络·https
yuanyuan2o21 天前
Git merge 的几种不同模式
git·github
视觉小萌新1 天前
关于Vscode配置企业Git
git
zh_xuan1 天前
使用命令行把安装包上传到github
c++·git·libcurl·c++工程打包