1.6.2版本的Sentinel,正常启动访问Sentinel/dashboard控制台,内容中心微服务加入sentinal依赖,配置加入sentinel配置,启动内容中心,查看sentinel控制台还是初始状态(空白),换了几个sentinel版本也是一样,没查到有出现这种现象的。
依赖:
org.springframework.cloud
spring-cloud-starter-alibaba-sentinel
配置:
spring:
cloud:
sentinel:
transport:
dashboard: localhost:8080
访问 http://localhost:8888/shares/1 ,调用用户中心微服务是正常的。
问题:
是没有开放访问端口或ip权限还是什么原因,请大目老师帮忙分析一下,谢谢。
面向未来微服务:熟练掌握Spring Cloud Alibaba
了解课程