安小琪's blog

少年有梦,不应止于心动

git连接报错 fatal: unable to access ‘https://github.com……‘: Failed to connect to

git 连接报错 fatal: unable to access ‘https://github.com/xxxxxx.git/': Failed to connect to github.com port 443: Timed out 解决办法

但是我把这两个文件删除,重新执行hexo g -d命令之后,出现了新的报错

1
fatal: unable to access 'https://github.com/npfs06/npfs06.github.io.git/': Failed to connect to github.com port 443: Timed out

解决方法

本地cmd开个命令窗口,清下缓存

1
ipconfig /flushdns 

请问缓存等个30秒

再执行hexo g -d 就不会报超时了