title: Zookeeper connection exception, connection refused
body: <pre><code> ERROR NetworkManager client connect error
  java.net.ConnectException: Connection refused
          at sun.nio.ch.Net.connect0(Native Method)
          at sun.nio.ch.Net.connect(Net.java:458)
          at sun.nio.ch.Net.connect(Net.java:450)
          at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)
          at ch.usi.da.paxos.ring.NetworkManager.connectClient(NetworkManager.java         :295)
          at ch.usi.da.paxos.ring.RingManager.notifyRingChanged(RingManager.java:115)
          at ch.usi.da.paxos.ring.RingManager.process(RingManager.java:189)
          at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.j         ava:522)
          at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)
  </code></pre>
  
  <p>Is the error I receive when calling Zookeeper from a Java client.</p>
  
  <p>My zookeeper configuration is</p>
  
  <pre><code>tickTime=2000
  dataDir=/var/lib/zookeeper/
  clientPort=2181
  initLimit=5
  syncLimit=2
  server.1=192.168.1.200:2888:3888                                
  server.2=192.168.1.201:2888:3888
  server.3=192.168.1.202:2888:3888
  </code></pre>
  
  <p>I'm running the programm on Linux, on windows with a single zookeeper instance everything worked excellent.
  It seems like Zookeeper client connected to a different subnet than the server.</p>