window安装、启动consul

1.官网下载:

cmd 命令窗口执行:consul.exe agent -server ui -bootstrap -client 0.0.0.0 -data-dir="E:\consul" -bind X.X.X.X

其中X.X.X.X为服务器ip,即可使用http://X.X.X.X:8500 访问ui而不是只能使用localhost连接

posted @ 2020-10-22 09:17  GodYrg  Views(1459)  Comments(0)    收藏  举报