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
相关推荐
yqcoder9 小时前
7. TCP 和 UDP 的区别
网络·网络协议·http
Franklin10 小时前
VS 版本更新git安全保护问题的解决
git
小猫会后空翻10 小时前
HTTPS与DNS
网络协议·http·https
小镇敲码人12 小时前
【实习篇】之Http头部字段之Disposition介绍
网络·网络协议·http
黎相思12 小时前
应用层协议HTTP
网络·网络协议·http
温贝13 小时前
基于axios的http请求封装,支持数据缓存
http·axios
我是一只代码狗13 小时前
idea中合并git分支
git
我是一只代码狗13 小时前
idea中使用git
git·gitee·github
恋喵大鲤鱼14 小时前
git restore
git·git restore
李少兄14 小时前
Git Commit Message写错后如何修改?已Push的提交如何安全修复?
git·安全