博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
java.net.NoRouteToHostException: No route to host
阅读量:7076 次
发布时间:2019-06-28

本文共 1475 字,大约阅读时间需要 4 分钟。

hot3.png

今天重装了服务器的系统之后,重新在两台服务器布署es集群之后,发现es启动报错:

[2015-06-16 10:33:33,455][WARN ][transport.netty          ] [ElasticSearch_01] exception caught on transport layer [[id: 0x10560167]], closing connectionjava.net.NoRouteToHostException: No route to host        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)        at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)        at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)        at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)        at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)        at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)        at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)        at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)        at java.lang.Thread.run(Thread.java:745)

经过排查后,是防火墙对9200和9300端口做了限制,关掉防火墙或者开放指定的端口就可以了.

转载于:https://my.oschina.net/claireliu/blog/467214

你可能感兴趣的文章
pear安装模块出现报错——could not extract the package.xml
查看>>
第十七天 while 循环
查看>>
powershell最常用的命令之(一)
查看>>
Log4j.properties配置详解
查看>>
基于jQuery免费开源图片裁切插件 - Croppic
查看>>
jdk 安装配置
查看>>
在Visual Studio中用C++语言创建DLL动态链接库图文教程
查看>>
清除Windows Server Backup 备份副本
查看>>
CSS3知识点整理&&一些demo
查看>>
我的友情链接
查看>>
Linux中的grep、egrep及相应的正则表达式和用法
查看>>
高可用mongodb集群的学习记录(二mongodb主从配置)
查看>>
extjs radio样例集合
查看>>
php file_get_contents
查看>>
docker-gitlab
查看>>
linux下syslog使用说明
查看>>
机器学习---学习首页
查看>>
smarty详解二:从文件读取变量、保留变量、数学计算、内建函数
查看>>
java 多线程简介
查看>>
SQLSserver2008安装默认账户介绍
查看>>