如何修复“IP 端口 443 重置连接”

问题描述 投票:0回答:2

我通过 Windows PC 使用 git。每次我在教育互联网或个人互联网上尝试

git push
或其他 git 命令时,它都会返回
Push failed
            Connection reset by 192.30.253.122 port 443
            Could not read from remote repository.
            Please make sure you have the correct access rights
            and the repository exists.

所以我必须使用手机热点,推送成功。我不想使用 HTTPS 来使用 git。如果443端口被使用或禁止,我该怎么办?

git github
2个回答
0
投票

С联系互联网管理员。该端口似乎被防火墙阻止。


0
投票

我通过从

config
文件夹中删除
.ssh
文件解决了该问题,我最初在该文件夹中设置了主机和端口 443。

© www.soinside.com 2019 - 2024. All rights reserved.