install Ros error:curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接的解决方案
raspberry os安装Ros 指令curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key
报错:curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接;
解决方案:you can:
1、打开 https://www.ipaddress.com/ 输入访问不了的域名 https://raw.githubusercontent.com/
2、拿到对应的IP地址,任意一个即可;
185.199.108.133
185.199.109.133
185.199.110.133
185.199.111.133
3、修改本地HOSTS,vim下打开/etc/hosts,添加 185.199.111.133 raw.githubusercontent.com;
4、重启即可。
you can also replace: curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key with curl -sSL 185.199.111.133/ros/rosdistro/master/ros.key
人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。