通过zookeeper搭建dubbo注册中心遇到的问题
来源:互联网 发布:初中生背单词软件 编辑:程序博客网 时间:2024/06/05 07:11
在linux下安装,配置并启动zookeeper。
在window环境下启动服务提供方时,未成功启动,报以下错误:
报错信息
2017-03-02 19:52:32,270 INFO [org.apache.zookeeper.ZooKeeper] - Initiating client connection, connectString=192.168.153.128:2181 sessionTimeout=30000 watcher=org.I0Itec.zkclient.ZkClient@1d6ba2b2017-03-02 19:52:32,288 INFO [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server 192.168.153.128/192.168.153.128:2181. Will not attempt to authenticate using SASL (unknown error)2017-03-02 19:52:53,291 WARN [org.apache.zookeeper.ClientCnxn] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnectjava.net.ConnectException: Connection timed out: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)2017-03-02 19:52:54,394 INFO [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server 192.168.153.128/192.168.153.128:2181. Will not attempt to authenticate using SASL (unknown error)
经检查,是linux下防火墙未关闭,使用一下命令关闭防火墙:
servcie iptables stop
关闭后查看防火墙状态
service –status-all
查看到一下信息则说明linux防火墙已经关闭:
iptables: Firewall is not running.
0 0
- 通过zookeeper搭建dubbo注册中心遇到的问题
- Zookeeper的注册中心和dubbo-admin的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Zookeeper注册中心和Dubbo-Admin管理平台的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Zookeeper注册中心和Dubbo-Admin管理平台的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Zookeeper注册中心和Dubbo-Admin管理平台的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- Zookeeper注册中心和Dubbo-Admin管理平台的搭建
- Dubbo-Admin管理平台和Zookeeper注册中心的搭建
- 389. Find the Difference
- c++第一次作业:1.多分段函数求值 2.输出星号图
- iOS UI基础学习 Note_daySeven
- leetcode
- 面向对象的设计思想
- 通过zookeeper搭建dubbo注册中心遇到的问题
- Vuejs初学--02
- 从源码解析TreeMap
- Mybatis 的开发环境搭建,实现数据的增删改查
- POJ1852 Ants (蚂蚁落杆)
- leetcode
- struts2学习(二)—action获取表单提交数据的三种方式
- PAT (Advanced Level) Practise 1123. Is It a Complete AVL Tree (30)
- Linux时间修改