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

 

posted @   叕叒双又  阅读(1320)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2021-01-13 Manjaro-KDE配置全攻略转
2019-01-13 我们的领导干部可以如此的分身有术,还是我们根本不需要这么多的干部呢
点击右上角即可分享
微信分享提示