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
相关推荐
stevenzqzq1 天前
git 常用操作
大数据·git
Curvatureflight1 天前
Git工作流最佳实践:从混乱到优雅
git
yixvxi1 天前
RFC 8659:DNS CAA资源记录
服务器·https·ssl
三水不滴1 天前
计算机网络核心网络模型
经验分享·笔记·tcp/ip·计算机网络·http·https
wu~9701 天前
GitHub永不遗忘,使用git push -f来覆盖的提交依旧保留
git·github
SunflowerCoder1 天前
基于插件化 + Scriban 模板引擎的高效 HTTP 协议中心设计
http·c#
Remember_9931 天前
MySQL 索引详解:从原理到实战优化
java·数据库·mysql·spring·http·adb·面试
Vermouth_001 天前
git clone的时候提示access denied
git
404Clukay1 天前
Windows Server 配置 Let‘s Encrypt 免费 HTTPS 证书(WACS + Nginx 自动化方案)
windows·nginx·https
qq_437657271 天前
清楚本地的git并重新登录
git