参考:https://blog.csdn.net/twi_twi/article/details/124692509
1、原因
因为国内访问github卡顿,git clone时候会出现, port 443 : Timed out错误。
2、解决方案
1)修改hXXX文件,
路径:C:\Windows\System32\drivers\etc
2)可查询,目标网站的IP地址
网址:https://ip.tool.chinaz.com/
3)一种可选配置
140.82.114.3 github.com
199.232.69.194 github.global.ssl.fastly.net
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
4)刷新DNS解析缓存
ipconfig /flushdns