失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > fatal: 无法访问 https://github.com/ :Failed to connect to github.com port 443: 拒绝连接的解决办法

fatal: 无法访问 https://github.com/ :Failed to connect to github.com port 443: 拒绝连接的解决办法

时间:2019-11-19 23:33:52

相关推荐

fatal: 无法访问 https://github.com/ :Failed to connect to github.com port 443: 拒绝连接的解决办法

最近在ubuntu20.04安装PCL1.9.1的过程中,在从github 下载pcl时遇到了 fatal: 无法访问 /PointCloudLibrary/pcl.git/ :Failed to connect to port 443: 拒绝连接

这个问题。

解决办法:在终端输入 sudo gedit /etc/hosts ,打开/etc/hosts文件,然后注释掉所有只涉及到的行(注意是 只有 ,有任何别的都不可以)即可解决。

如果觉得《fatal: 无法访问 https://github.com/ :Failed to connect to github.com port 443: 拒绝连接的解决办法》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。