系统教程
您现在的位置是:首页>服务器系统>Linux系统内容

连接不到Linux上的zookeeper异常:Session 0x0 for server null

时间:2018-05-11 出处:未知复制分享人气(次) 【

问题是:
Eclipse 的 zookeeper 插件链接不到对应地址的zookeeper,Linux 的 zookeeper 已经打开,但是插件链接不到,因为 Linux 上的防火墙!
 
报的错类似:
WARN [localhost-startStop-1-SendThread(192.168.0.33:2181)] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
 
解决:
①:在 linux 上输入命令(或者在 secureCRT 上输入):chkconfig | grep iptables(查看防火墙状态)
②:chkconfig iptables off(设置自动启动为关闭)
③:chkconfig --del iptables(移除开机自动启动)
    最新资讯
    热门内容
    小米移动电源能为iPad mini充几次电