Ignoring exception during shutdown input java.nio.channels.ClosedChannelException


[localhost-startStop-1-SendThread(192.168.148.128:2181)] [org.apache.zookeeper.ClientCnxn]-[INFO] Opening socket connect

Ignoring exception during shutdown input java.nio.channels.ClosedChannelException

一个是:zookeeper最常见的错误:防火墙没关

赶紧去Linux下关闭防火墙: service iptables stop

几条关于防火墙的命令:

1.查看状态:firewall-cmd -state 
开启状态:running 
关闭状态:not running 
2.关闭防火墙:systemctl stop firewalld.service 
3.开机不启动防火墙:systemctl disable firewalld.service


第二是:记得查看状态,是否将zkServer开启

Ignoring exception during shutdown input java.nio.channels.ClosedChannelException