Address family not supported by protocol family: connect
来源:互联网 发布:网页游戏源码架设教程 编辑:程序博客网 时间:2024/04/30 01:00
问题:
Address family not supported by protocol family: connect
15/05/09 10:44:22 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2000/storm sessionTimeout=20000 watcher=org.apache.curator.ConnectionState@612438f115/05/09 10:44:22 INFO zookeeper.ClientCnxn: Opening socket connection to server 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:2000. Will not attempt to authenticate using SASL (无法定位登录配置)15/05/09 10:44:22 ERROR zookeeper.ClientCnxnSocketNIO: Unable to open socket to 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:200015/05/09 10:44:22 WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnectjava.net.SocketException: Address family not supported by protocol family: connectat sun.nio.ch.Net.connect(Native Method)at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)at org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSocketNIO.java:266)at org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:276)at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:958)at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:993)15/05/09 10:44:22 INFO zookeeper.ClientCnxn: Opening socket connection to server 127.0.0.1/127.0.0.1:2000. Will not attempt to authenticate using SASL (无法定位登录配置)15/05/09 10:44:22 INFO zookeeper.ClientCnxn: Socket connection established to 127.0.0.1/127.0.0.1:2000, initiating session15/05/09 10:44:22 INFO server.NIOServerCnxnFactory: Accepted socket connection from /127.0.0.1:492315/05/09 10:44:22 INFO server.ZooKeeperServer: Client attempting to establish new session at /127.0.0.1:492315/05/09 10:44:22 INFO server.ZooKeeperServer: Established session 0x14d368f1954000b with negotiated timeout 20000 for client /127.0.0.1:492315/05/09 10:44:22 INFO zookeeper.ClientCnxn: Session establishment complete on server 127.0.0.1/127.0.0.1:2000, sessionid = 0x14d368f1954000b, negotiated timeout = 2000015/05/09 10:44:22 INFO state.ConnectionStateManager: State change: CONNECTED15/05/09 10:44:22 WARN state.ConnectionStateManager: There are no ConnectionStateListeners registered.
原因:
Zookeeper无法连接localhost(127.0.0.1)。
解决方案:
修改本机C盘hosts文件,将127.0.0.1映射成localhost。
0 0
- Address family not supported by protocol family: connect
- Address family not supported by protocol family.
- java.net.SocketException: Address family not supported by protocol family: connect
- 异常Address family not supported by protocol family
- ICE 异常Address family not supported by protocol family
- Strom本地模式Address family not supported by protocol family
- Android模拟器遭遇Address family not supported by protocol异常
- [Trouble Shoot]启动GlassFish时的Address family not supported by protocol family问题
- Android java.net.SocketException: Address family not supported by protocol 出错提示
- request time failed: java.net.SocketException: Address family not supported by protocol
- Android异常总结---1.Android java.net.SocketException: Address family not supported by protocol
- 解决:request time failed: java.net.SocketException: Address family not supported by protocol
- Address family not supported by protocol等很多问题的解决方案
- request time failed: java.net.SocketException: Address family not supported by protocol 解决办法
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 报错
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 报错
- MFC中UpdateData函数的使用功能
- iOS - 用Hopper反编译 Nike+ 二进制文件
- mac下显示和隐藏文件夹
- Spring-boot web 工程构建,并把maven子项目模块依赖jar打包,笔记
- DAO设计模式
- Address family not supported by protocol family: connect
- iOS - iOS开发碎碎
- 【hibernate学习之路3】Hibernate核心接口,主键生成策略
- 第八周项目3-1:分数类中的运算符重载
- win7上安装CentOS7双系统(U盘启动)
- 根据两点经纬度坐标计算距离
- Best_Cow_Line
- 微营销好标题之喜闻乐见(微营销标题吸引粉丝篇-6)
- Hadoop : MapReduce中的Shuffle和Sort分析