一、下载
Release 1.4.3 (Jan 27, 2022) · alibaba/nacos · GitHub
二、解压
三、进入nacos下的conf目录下将 cluster.conf.example 重命名为 cluster.conf 然后打开该文件添加以下内容
127.0.0.1:8848
127.0.0.1:8849
127.0.0.1:8850
本次搭建的nacos集群的端口分别为8848,8849,8850。前面的IP地址为你自己本地的IP地址,
这里最好不要写成localhost或127.0.0.1,否则集群 可能 会搭建失败
四.修改 conf 目录下的 application.properties 文件
server.port=8848
nacos.inetutils.ip-address=127.0.0.1
五、进入bin目录,编辑start.cmd
<