I'm new to zookeeper and tried to start server by using

./zkServer.sh start

but got this

binding to port 0.0.0.0/0.0.0.0:2181 2015-10-23 22:08:09,952 - FATAL
[main:ZooKeeperServerMain@62] - Unexpected exception, exiting abnormally
java.net.BindException: Address already in use

is there any port which i can use it ?

or is there any solution to solve this problem ?

i tried to kill process in the port 2181 by using this

sudo fuser -k 2181/tcp

but problem is still

my zoo.cfg is

tickTime=2000
initLimit=10
syncLimit=5
dataDir=/var/zookeeper
clientPort=2181

Reply via email to