使用命令启动Sentinel控制台
java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -Dproject.name=sentinel-dashboard -jar sentinel-dashboard.jar
注意:这里要是使用powershell 执行命令,会报错误
错误: 找不到或无法加载主类 .port=8080
应该修改为:
java ‘-Dserver.port=8080’ ‘-Dcsp.sentinel.dashboard.server=localhost:8080’ ‘-Dproject.name=sentinel-dashboard’ -jar sentinel-dashboard.jar
访问localhost:8080
就是sentinel的登陆地址。账户密码都是sentinel
注意:本文归作者所有,未经作者允许,不得转载