Failed to connect to raw.githubusercontent.com port 443

Published on 2021-01-31 17:22 in 分类: 随笔 with 狂盗一枝梅
分类: 随笔

好像是DNS被污染了,修改下本地的hosts文件就好,修改方法:

首先,打开链接 https://githubusercontent.com.ipaddress.com/raw.githubusercontent.com找到真实的ip地址 2021-01-31_172118.png 然后,修改本地的hosts文件添加如下内容

199.232.96.133 raw.githubusercontent.com

如此再运行node命令或者npm命令即可。


#npm #node
目录