- 下载windows安装包
https://www.consul.io/downloads.html
- 解压,输入下面命令启动
consul.exe agent -dev -ui -client=0.0.0.0
注:
-dev开发服务器模式启动,
-ui可以用界面访问
-client=0.0.0.0 表示其它机器也能访问,默认是127.0.0.1只能本机访问
- 访问控制台:
http://127.0.0.1:8500/
server & client
https://www.cnblogs.com/chaselogs/p/11462954.html