By looking at the official documentation of zookeeper, we found that there are three solutions:
(1). Delete the jetty.
(2) Modify the port.
There are two ways to modify this method. One is to add -Dzookeeper.admin.serverPort= your port number in the startup script. The other is to add admin.serverPort= an unoccupied port number in zoo.cfg
(3) Stop using the service and add "-dzookeeper.admin.enableserver = false" in the startup script.
Recommend the second one. The above answers come from Lin 120 Technology Center.