consul没有界面

consul安装成功,但是没有界面,解决方法:


3、consul安装后没有界面,ip:8500/ui没有界面;更改配置
-client:consul绑定在哪个client地址上,这个地址提供HTTP、DNS、RPC等服务,默认是127.0.0.1
/usr/lib/systemd/system/consul.service
ExecStart=/data/IPS/publish/app/consul/consul agent -bind=10.1.1.1     -ui -client 0.0.0.0 -config-dir=/data/IPS/publish/data/consul/conf/ -rejoin  -server 

其中-bind后面的IP是本地的serverip,其中-client 的0.0.0.0是所有IP客户端都可以连接请求。

猜你喜欢

转载自blog.csdn.net/xiaofang2015/article/details/79241692