首页 > 解决方案 > ElasticSearch 实例在 Windows [7.3.1] 的网络内不可见

问题描述

我正在尝试在 Windows Server 上安装 ElasticSearch 实例,其想法是由域网络内的应用程序使用。直到知道我已经配置了 elasticsearch.yml:

bootstrap.memory_lock: false
cluster.name: testcluster
http.port: 9200
network.host: _site_
cluster.initial_master_nodes:
- SERVERTEST
node.data: true
node.ingest: true
node.master: true
node.max_local_storage_nodes: 1
node.name: SERVERTEST
path.data: D:\ElasticSearch\data
path.logs: D:\ElasticSearch\logs
transport.tcp.port: 9300
xpack.license.self_generated.type: basic
xpack.security.enabled: false

如果我尝试从 url http://SERVERTEST:9200/连接服务器内部,我可以毫无问题地访问,但我无法从同一网络内的另一台计算机访问。

我错过了什么吗?或者它是我必须在防火墙或其他任何地方配置的东西?

先感谢您

标签: windowselasticsearch

解决方案


最后,在Windows防火墙上配置防火墙端口是错误的。

只需正确配置 TCP 端口 9200 即可修复


推荐阅读