解决 Push failed: Unable to access 'https://github.com/...': Failed to connect ...Connection Refused
解决 Push failed: Unable to access ‘https://github.com/…’: Failed to connect to 127.0.0.1 port xxx Connection Refused
问题
Android studio 下连接到github,share project的时候已经成功建立repo,但是push的时候总会出现如上错误。
跳过的坑
百度了很多方法,绝大多数都是以下两种答案,终归都是说因为代理问题
- 有说需要取消代理,但想想自己也没有做过任何代理
env|grep -I proxy
也没有列出任何proxy,所以此方案无效。 - 还有说需要修改 gradle.properties, 但找了半天也没有找到任何和代理相关的东西,C/User/.gradle里也找不到有些文章所说的 gradle.properties,所以此方案无效。
最终解决方法
终归还是代理问题。。。
Windows 全局搜索.gitconfig,删除有关proxy的所有行,其他的不用管,再次用Android Studio 里的push以后就可以了。
当看到 Push successful: Pushed master to new branch origin/master
。。。 又填平一个坑
解决 Push failed: Unable to access 'https://github.com/...': Failed to connect ...Connection Refused相关推荐
- Push failed Unable to access ‘https://github.com/‘: Failed to connect to github.com port 443: Timed
GitHub推送到远程仓库报错: Push failed Unable to access 'https://github.com/': Failed to connect to github.com ...
- 解决github unable to access ‘https://github.com/...: Failed to connect to github.com port 443
当我们使用git clone下载仓库代码的时候,出现github unable to access 'https://github.com/...: Failed to connect to gith ...
- fatal: unable to access ‘https://github.comxxxxxxxxxxx‘: Failed to connect to xxxxxxxxxxxxx
git clone 遇到问题:fatal: unable to access 'https://github.comxxxxxxxxxxx': Failed to connect to xxxxxxx ...
- Git报错解决:fatal: unable to access ‘https://github.com/...‘: OpenSSL SSL_read:..., errno 10054
Git报错解决:fatal: unable to access 'https://github.com/-': OpenSSL SSL_read: Connection was reset, errn ...
- git clone 遇到问题:fatal: unable to access ‘https://github.comxxxxxxxxxxx‘: Failed to connect to xxxxxxx
git clone 遇到问题:fatal: unable to access 'https://github.comxxxxxxxxxxx': Failed to connect to xxxxxxx ...
- unable to access ‘https://github.com/***.git‘: OpenSSL SSL_read: Connection was reset, errno 10054
Git提交项目报错: unable to access 'https://github.com/***.git': OpenSSL SSL_read: Connection was reset, er ...
- 解决GitHub连不上的问题fatal: unable to access ‘https://github.com/..’: Failed to connect to github.com port
解决GitHub连不上的问题 fatal: unable to access 'https://github.com/dmlc/dgl.git': Failed to connect to githu ...
- 解决:fatal: unable to access ‘https://github.com/xxxxxxxxxxxxxxx/‘: Failed to connect
完整报错信息:fatal: unable to access 'https://github.com/xxxxxxxxxx/': Failed to connect to github.com por ...
- github push报 Unable to access ‘https://github.com/xxxx/xxxx.git/‘: OpenSSL SSL_read: Connection was
idea操作git时 报 Unable to access 'https://github.com/xxxx/xxxx.git/': OpenSSL SSL_read: Connection was ...
最新文章
- [Win7]如何还原[.bat]文件关联
- 1:1 人脸比对 开源_Hacktoberfest:我的开源门户
- pyqt5实战之透明样式和页面切换和弹出新窗口
- 2、Mysql 8.0.20最新版本修改密码
- Request和Response-学习笔记02【请求转发和request共享数据、Request_获取ServletContext、request登录案例】
- html5 支持php标签吗,HTML5新增标签使用方法
- dm_php库,dmandwp系统 PHP建站系统+wordpress建站和DM系统区块+安装教程
- mybatis里mapper.xml中SQL语句if语句嵌套if语句
- 想赚钱,赚大钱,必须要有商业思维
- 名企面试官精讲典型编程题之数据结构字符串篇
- 20191206每日一句
- 机器学习- 吴恩达Andrew Ng - week3-2 Logistic Regression Model
- 酷派D530刷机指引之官方ROM
- stata15中文乱码_如何解决Stata14的中文乱码问题
- 酒店管理系统-可行性研究报告
- 大话西游2服务器修改,大话西游2:9.17维护解读:五倍次数修改全服上线,灵兽村要变样啦...
- 【Beta】 第四次Daily Scrum Meeting
- 《Java编程思想第五章》:初始化与内存
- 《信息学奥赛一本通》宠物小精灵之收服
- linux下kegg注释软件,科学网—生物信息——kegg分析的kobas软件的安装与使用 - 孙朋川的博文...