开发者社区> 问答> 正文

win7安装zookeeper?报错

麻烦哪位大神在win7安装过zookeeper,我在网上找的教程都有问题,安装也不报错,但是端口一直没有监听到,谁有教程,麻烦给一份,谢谢了。
2014-11-04 15:35:46,059 [myid:] - WARN  [main-SendThread(127.0.0.1:2181):ClientC
nxn$SendThread@1089] - Session 0x0 for server null, unexpected error, closing so
cket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
NIO.java:350)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2014-11-04 15:35:47,161 [myid:] - INFO  [main-SendThread(127.0.0.1:2181):ClientC
nxn$SendThread@966] - Opening socket connection to server 127.0.0.1/127.0.0.1:21
81. Will not attempt to authenticate using SASL (unknown error)
2014-11-04 15:35:48,163 [myid:] - WARN  [main-SendThread(127.0.0.1:2181):ClientC
nxn$SendThread@1089] - Session 0x0 for server null, unexpected error, closing so
cket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
NIO.java:350)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)

展开
收起
爱吃鱼的程序员 2020-06-14 20:27:56 616 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    配置文件贴出来看看你看一下<imgsrc="http://static.oschina.net/uploads/space/2014/1104/162026_87TA_1179669.png"alt="">去掉initLimit和syncLimit试试

    2020-06-14 20:28:15
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
《MSE 微服务网关》 立即下载
微服务引擎 MSE 治理中心重磅发布 立即下载
阿里云微服务引擎 MSE 2.0 线上发布 立即下载