Tag Archives: java.net.ConnectException: Connection refused: no further information

[Solved] Zookeeperjava.net.ConnectException: Connection refused: no further information

zookeeper error: java.net.ConnectException: Connection refused: no further information

 

Error Message:
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxnSendThread.run(ClientCnxn.java:1141)2018−08−2314:29:30,700[localhost−startStop−1−SendThread(192.168.43.31:2181)][org.apache.zookeeper.ClientCnxnSocketNIO]−[DEBUG]Ignoringexceptionduringshutdowninputjava.nio.channels.ClosedChannelExceptionatsun.nio.ch.SocketChanne

 

Solution:
Write picture description here
start tomcat again and succeed.