虚拟机部署 Sentinel 服务错误记录

docker logs -n10 my-sentinel -f

代码的改造都是按照手记上来的,html的注释也放开了,但是菜单栏界面上没有显示流控规则

虚拟机部署 Sentinel 服务错误记录

虚拟机部署 Sentinel 服务错误记录

The port number specified in spring.cloud.sentinel.transport.port will start an HTTP Server on the corresponding server of the application, and this server will interact with the Sentinel dashboard. For example, if a rate limiting rule is added in the Sentinel dashboard, the the rule data will be pushed to and recieved by the HTTP Server, which in turn registers the rule to Sentinel.

以上取自sentinel的官网,我们在本地应用的时候指定了一个叫做8719的端口号,这个端口号会用本地应用的本地ip加端口号形成一个http服务,然后我在云服务器上配置的sentinel dashboard会往这个ip+端口发请求!很显然这个请求会失败,因为用的本地的ip。

虚拟机部署 Sentinel 服务错误记录

虚拟机部署 Sentinel 服务错误记录

本作品采用《CC 协议》,转载必须注明作者和本文链接
zhaozhangxiao
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!