赞
踩
今晚在刷LeetCode时想把代码放到github上时,突然发现git push远程仓库失败
- ssh: Could not resolve hostname github.com: Temporary failure in name resolution
- fatal: Could not read from remote repository.
看到这个错误提示大概率就是因为github连接不上去,我收集了几个能用的gitbub公网地址,在改hosts之前可以先去浏览器看看这几个公网地址能不能用
- 13.114.40.48 github.com
-
- 192.30.255.113 github.com
-
- 140.82.121.3 github.com
二话不说直接改hosts文件,直接push成功
不得不说这种外网连接问题有时候是真的让人头大,网络上教程也是稀奇古怪的令我头皮发麻
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。