当前位置:   article > 正文

IDEA连接github.com连接超时 Invalid authentication data. connect time out 的问题解决(亲测有效)_idea连接git超时

idea连接git超时

问题:

IDEA连接github.com连接超时 Invalid authentication data. connect time out

 解决方案(亲测有效):

  • 修改host文件:打开 C:\Windows\System32\drivers\etc\hosts,文件末尾添加如下内容:
  1. #github IP地址
  2. 199.232.69.194 github.global.ssl.fastly.net
  3. 140.82.113.3 github.com
  4. 140.82.112.4 www.github.com
  5. 185.199.108.153 assets-cdn.github.com
  6. 185.199.109.153 assets-cdn.github.com
  7. 185.199.110.153 assets-cdn.github.com
  8. 185.199.111.153 assets-cdn.github.com
  9. 185.199.108.153 documentcloud.github.com
  10. 185.199.109.153 documentcloud.github.com
  11. 185.199.110.153 documentcloud.github.com
  12. 185.199.111.153 documentcloud.github.com
  13. 140.82.114.3 gist.github.com
  14. 185.199.108.153 help.github.com
  15. 185.199.109.153 help.github.com
  16. 185.199.110.153 help.github.com
  17. 185.199.111.153 help.github.com
  18. 140.82.112.9 nodeload.github.com
  19. 199.232.68.133 raw.github.com
  20. 140.82.112.18 status.github.com
  21. 140.82.113.18 training.github.com
  22. 199.232.68.133 raw.githubusercontent.com
  23. 199.232.68.133 user-images.githubusercontent.com
  24. 199.232.68.133 avatars1.githubusercontent.com
  25. 199.232.68.133 avatars2.githubusercontent.com
  26. 199.232.68.133 avatars3.githubusercontent.com
  27. 199.232.68.133 cloud.githubusercontent.com
  28. 140.82.113.6 api.github.com
  • 刷新DNS:打开cmd指令输入:ipconfig /flushdns
     

  • idea连接github成功!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/521611
推荐阅读
相关标签
  

闽ICP备14008679号