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
相关推荐
敲敲敲-敲代码13 小时前
git安装记录
git
我是人✓13 小时前
Git入门:从零开始掌握分布式版本控制
分布式·git
郝亚军13 小时前
RK3562 中有 mosquitto、nginx 了,还需要 http,ftp,tftp 等协议吗?
运维·nginx·http
Aurora_eye14 小时前
Git 笔记
笔记·git
解道Jdon15 小时前
FigCraft把Figma用Rust从零重写了一遍
ide·windows·git·svn·eclipse·github·visual studio
是个西兰花17 小时前
http讲解
网络·网络协议·http
橙橙笔记17 小时前
QT安卓软件的制作
android·git·qt·软件
我是人✓17 小时前
Git远程协作与标签管理全攻略
git
闰土_RUNTU17 小时前
Git实用手册(持续更新)
git