[2020-04-06T12:57:13,793][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [node-1] uncaught exce

ElasticSearch启动异常:

[2020-04-06T12:57:13,793][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [node-1] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to bind to [9300-9400]]; nested: BindException[Cannot assign requested address];

 

解决方法:

vi config/elasticsearch.yml

network.host: X.X.X.X           #改成主机内网(私网)IP,访问使用公网

你可能感兴趣的:(JAVA)