weavescope curl -L git.io/scope -o /usr/local/xx failed to connect to 2001: Network is unreachable

问题:按照weave Scope官网提示,使用以下脚本安装weave Scope报curl: Failed to connect to 2001::68f4:2e39: Network is unreachabler.
\

sudo curl -L git.io/scope -o /usr/local/bin/scope
sudo chmod a+x /usr/local/bin/scope
scope launch

1.把命令改为

sudo curl -L https://github.com/weaveworks/scope/releases/download/latest_release/scope -o /usr/local/bin/scope

sudo chmod a+x /usr/local/bin/scope

scope launch

2.开启防火墙

CentOS 7.0默认使用的是firewall作为防火墙

查看防火墙状态

firewall-cmd --state

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

下载并且启动成功!在浏览器输入:本机ip:4040访问weavescope.


大功告成!

上一篇:JAVAEE综合实验--新闻管理系统


下一篇:JavaEE 企业级分布式高级架构师(二十)微服务框架 SpringCloudAlibaba (2.2 版)(5)