Could not resolve host: github.com

  1. 在终端上ping www.github.com

  1. windows系统下一般在C:\Windows\System32\drivers\etc下有hosts文件,修改hosts文件,在最下面加上ping到的ip地址和github.com

posted @ 2021-02-04 21:48  youlj  阅读(488)  评论(0编辑  收藏  举报