当前位置:   article > 正文

解决 Failed to connect to 127.0.0.1 port 7890 after 0 ms: Connection refused_failed to connect to 127.0.0.1 port 7890 after 204

failed to connect to 127.0.0.1 port 7890 after 2041 ms

报错截图

关掉梯子后,查询github的ip

GitHub.com - GitHub: Let's build from here · GitHub

 sudo vim /etc/hosts

将github.com的ip改成查询到的

能ping通 github.com

使用以下命令

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

成功解决

 

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号