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
相关推荐
横木沉36 分钟前
IntelliJ IDEA 无法识别 Git:Git is not installed 问题解决
java·git·github·intellij-idea
为你学会写情书2 小时前
Git 学习指南:从日常命令到多人协作与提交规范
git
东小黑3 小时前
Git 仓库操作与 VSCode 使用指南
git·vscode·gitee
拼图20915 小时前
Git常用语法
分布式·git·学习
ShineWinsu1 天前
对于Git:基础操作的超详细保姆级解析
linux·c++·git·面试·备份·管理·版本控制器
沉迷...1 天前
Git skip-worktree 使用笔记(本地忽略配置文件)
javascript·git
小此方1 天前
Linux网络(十二):HTTP短连接与长连接:从Connection机制到Cookie、Session,彻底理解HTTP的无状态
服务器·网络·http
江畔柳前堤1 天前
On-Policy Distillation 全景深潜
人工智能·网络协议·目标检测·http·机器学习·chatgpt·重构
解道Jdon1 天前
JDK 27发布:紧凑对象头、G1默认、量子安全TLS
ide·windows·git·svn·eclipse·github·visual studio
2501_915909061 天前
怎么用 FlutterFlow 把应用发布到 App Store?
android·ios·小程序·https·uni-app·iphone·webview