Home Github 拒绝访问Connection refused
Post
Cancel

Github 拒绝访问Connection refused

引言

今日使用Git推送提示fatal: unable to access 'https://github.com/yexca-VRChat/yexca-VRChat.github.io.git/': Failed to connect to 127.0.0.1 port 1081 after 2074 ms: Connection refused,重启电脑也没用,遂寻找解决方法(为什么不让爷访问自己的仓库)

解决过程

经查阅相关资料得知与代理有关,可我代理是放路由器啊

于是我连接到另一个普通路由器再次推送还是同样问题

然后尝试了设置Git的代理也是无果

1
2
git config --global --unset http.proxy
git config --global --unset https.proxy

最后想到我WinXray貌似好像大概开过吧,然后打开一看,果然开着pac,关闭后再次推送成功

参考文章

fatal: unable to access ‘https://github.com/fmoraless/e-commerce.git/’: Failed to connect to 127.0.0.1 port 56832: Connection refuse · Issue #11981 · desktop/desktop

解决git下载出现:Failed to connect to 127.0.0.1 port 1080: Connection refused拒绝连接错误_点亮~黑夜的博客-CSDN博客

git 报错:解决拒接接入问题_Huang_milk的博客-CSDN博客

This post is licensed under CC BY 4.0 by the author.

搭建Git服务端及同步到指定目录

Fedora安装后