使用git推送到远程仓库的时候报错Failed to connect to 127.0.0.1 port 7890: 拒绝连接
·
问题:使用git推送到远程仓库的时候报错Failed to connect to 127.0.0.1 port 7890: 拒绝连接
说明:如果没有使用其他端口连接网络那么就看看是否在git中配置了proxy
解决方案:看看之前有无代理
git config --global http.proxy
然后关掉这个代理
git config --global --unset http.proxy
查看是否删除
git config --global -l
更多推荐
所有评论(0)