解决WSL2问题 Failed to connect to github.com port 443: Connection timed out
·
问题描述:在wsl2中连接github时,出现Failed to connect to github.com port 443: Connection timed out
解决办法:
1、运行命令 sudo vi /etc/hosts
2、注释掉
#127.0.0.1 raw.github.com
#127.0.0.1 github.com
3、添加下面两行
140.82.114.3 github.com
199.232.69.194 github.global.ssl.fastly.net
更多推荐

所有评论(0)