Zookeeper启动zkServer.cmd闪退
编辑zkServer.cmd,在代码最后一行添加pause
运行cmd,查看Error报错内容
2021-06-22 10:24:21,727 [myid:] - ERROR [main:ZooKeeperServerMain@63] - Unexpected exception, exiting abnormally
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.b