修改 /config/elasticsearch.yml(我的安装目录是:/var/www/elasticsearch-6.4.2/elasticsearch-6.4.2), network.host: 0.0.0.0 但修改后,es启动失败了(注意:elasticsearch 无法用 root 用户启动,请切换到普通用户), Native controller process has stopped - no new native processes can be started 解决办法:
解决办法: So here's how we fix it: Remove the kernel's networking interface rules file so that it can be regenerated # rm -f /etc/udev/rules.d/70-persistent-net.rules Restart the VM # reboot UPDATE your interface configuration file # vi /e