[已经解决]centos7.2 es5.4.1启动报错 BindTransportException [Failed to bind to [9300-9400]]
Elasticsearch | 作者 Lincoln | 发布于2017年06月16日 | 阅读数:18964
elasticsearch.yml配置信息
cluster.name: elk54-cluste
node.name: node-229
network.host: 10.20.112.229
bin/elasticsearch启动报错如下
[2017-06-16T21:02:42,194][INFO ][o.e.n.Node ] [node-225] starting ...
[2017-06-16T21:02:42,194][WARN ][o.e.b.ElasticsearchUncaughtExceptionHander ] [node-225] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: BindTransprotException[Failed to bind to [9300-9400]]; nested: BindException[Cannot assign requested address];
at org.elasticsearch.bootstrap.Elasticsearch.ini(Elasticsearch.java:127) ~[elasticsearch-5.4.1.jar:5.4.1]
elasticsearch.yml的netwok.host: 192.168.01,启动正常
1 个回复
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
赞同来自:
netstat -natpl | grep 9300