解决ES启动报错BindTransportException[Failed to bind to 1.116.223.252:[9300-9400]];

2,112 阅读1分钟

完整错误

org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to bind to 1.116.223.252:[9300-9400]]; nested: BindException[Cannot assign requested address];

截图如下:

image.png

网上解决方法很多,目前亲测将yml文件中的network的ip改为服务器内网地址可行