es部署完无法从Windows上访问 Linux防火墙已关闭

来源:2-3 插件安装

慕粉3838620

2020-11-11 20:16

你好

我部署完es之后Linux服务器商正常启动

用curl http://localhost:9200

返回:

{

  "name" : "localhost",

  "cluster_name" : "elasticsearch",

  "cluster_uuid" : "L4xoI-7iS_i0WBRKPJfzew",

  "version" : {

    "number" : "7.9.3",

    "build_flavor" : "default",

    "build_type" : "tar",

    "build_hash" : "c4138e51121ef06a6404866cddc601906fe5c868",

    "build_date" : "2020-10-16T10:36:16.141335Z",

    "build_snapshot" : false,

    "lucene_version" : "8.6.2",

    "minimum_wire_compatibility_version" : "6.8.0",

    "minimum_index_compatibility_version" : "6.0.0-beta1"

  },

  "tagline" : "You Know, for Search"

}

但是从Windows浏览器上访问http://服务器IP:9200/提示无法访问

http://img1.sycdn.imooc.com/5fabd6140001367909890714.jpg

写回答 关注

1回答

  • 奔向一万小时
    2020-11-14 16:58:35

    不仅要关注防火墙,还要检查linux端口是否对外开放

ElasticSearch入门

ElasticSearch轻松入门,Spring Boot集成ES

67740 学习 · 302 问题

查看课程

相似问题