Elasticsearch 启动后通过 9200 访问不了?

在虚拟机运行的elasticsearch,通过虚拟机ip:9200访问。

[2018-10-08T11:58:13,928][INFO ][o.e.n.Node               ] [] initializing ...
[2018-10-08T11:58:14,018][INFO ][o.e.e.NodeEnvironment    ] [PC-sIJL] using [1] data paths, mounts [[/code (code)]], net usable_space [19.2gb], net total_space [115.6gb], spins? [possibly], types [vboxsf]
[2018-10-08T11:58:14,018][INFO ][o.e.e.NodeEnvironment    ] [PC-sIJL] heap size [1.9gb], compressed ordinary object pointers [true]
[2018-10-08T11:58:14,024][INFO ][o.e.n.Node               ] node name [PC-sIJL] derived from node ID [PC-sIJL-QaaOa3b_vQTQxQ]; set [node.name] to override
[2018-10-08T11:58:14,026][INFO ][o.e.n.Node               ] version[5.1.1], pid[1808], build[5395e21/2016-12-06T12:36:15.409Z], OS[Linux/3.10.0-862.9.1.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_181/25.181-b13]
[2018-10-08T11:58:15,195][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [aggs-matrix-stats]
[2018-10-08T11:58:15,197][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [ingest-common]
[2018-10-08T11:58:15,197][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [lang-expression]
[2018-10-08T11:58:15,197][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [lang-groovy]
[2018-10-08T11:58:15,197][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [lang-mustache]
[2018-10-08T11:58:15,197][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [lang-painless]
[2018-10-08T11:58:15,198][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [percolator]
[2018-10-08T11:58:15,198][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [reindex]
[2018-10-08T11:58:15,198][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [transport-netty3]
[2018-10-08T11:58:15,198][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded module [transport-netty4]
[2018-10-08T11:58:15,198][INFO ][o.e.p.PluginsService     ] [PC-sIJL] loaded plugin [analysis-ik]
[2018-10-08T11:58:17,596][INFO ][o.e.n.Node               ] initialized
[2018-10-08T11:58:17,596][INFO ][o.e.n.Node               ] [PC-sIJL] starting ...
[2018-10-08T11:58:17,720][INFO ][o.e.t.TransportService   ] [PC-sIJL] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 1
leo

默认监听 IP 是 127.0.0.1,也就是说只能在虚拟机内部通过 127.0.0.1:9200 来访问

5年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!