解决办法:进入 config目录下 修改 vim elasticsearch.xml network.host设置为 0.0.0.0 即可外网访问。 转载于:https://www.cnblogs.com/thinkingandworkinghard/p/9869117.html