问题
Installed zookeeper 3.5.6 bin on windows. Getting error: Unable to start AdminServer, exiting abnormally org.apache.zookeeper.server.admin.AdminServer$AdminServerException: Problem starting AdminServer on address 0.0.0.0, port 8080 and command URL /commands
Where do I find the AdminServer configuration properties to fix this. In my conf directory the .cfg does not have anything, and I cant find anything anywhere else either?? The documentation is referring to zookeeper.admin.serverPort properties etc.
回答1:
Add below property to conf/zoo.cfg
file and restart zk server.admin.serverPort=9876
other port than 8080
Or you could disable admin server altogether byadmin.enableServer=false
来源:https://stackoverflow.com/questions/59943241/zookeeper-admin-server-port