ZooKeeper启动报错:My id 3 not in the peer list

错误描述:
在这里插入图片描述
解决方法:查看zookeeper-3.4.2/conf目录下
编辑zoo.cfg文件
在这里插入图片描述
发现第三行有问题修改

原文地址:https://www.cnblogs.com/victordata/p/12112491.html