nacos 报错is not in serverlist
描述
nacos 没有在节点列表里面
查看日志
cd /opt/nacos/ tailf /logs/naming-raft.log <!--报错--> 2019-08-16 17:48:15,000 WARN [IS LEADER] no leader is available now! 2019-08-16 17:48:16,684 INFO leader timeout, start voting,leader: null, term: 1
解决
原因:linux里启动默认是集群而,所以启动必须加-m standalone,单例模式启动
./shutdown.sh && ./startup.sh -m standalone