Why are you trying to connect to 2087 port when you set up your ZooKeeper to listen on 2181?
2014-02-22 19:41 GMT+01:00 Yosi Attias <[email protected]>: > Hi, > I am kinda new to the mailing lists world, so sorry If I make any mistake! > > I am trying to connect to zookeeper using mess-slave / marathon, and I am > getting the next error - > 2014-02-22 > 20:27:52,605:21224(0x110d01000):ZOO_ERROR@handle_socket_error_msg@1579: > Socket [192.168.1.107:2087] zk retcode=-4, errno=61(Connection refused): > server refused to accept the client > 2014-02-22 > 20:27:55,939:21224(0x110d01000):ZOO_ERROR@handle_socket_error_msg@1579: > Socket [192.168.1.107:2087] zk retcode=-4, errno=61(Connection refused): > server refused to accept the client > > I am trying to pass the next url as the zookeeper url - zk:// > yosy:[email protected]:2087/mesos > > I have installed zookeeper using apt-get and my configuration is simple as > possible with a little addition (bold) - > tickTime=2000 > initLimit=10 > syncLimit=5 > dataDir=/var/lib/zookeeper > > clientPort=2181 > clientPortAddress=192.168.1.107 > > This happens from a remote computer and inside the vm zookeeper installed > in. > What am I doing wrong? > > > -- > Yosi Attias > >
