windows - 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/连接服务器内部,我可以毫无问题地访问,但我无法从同一网络内的另一台计算机访问。
我错过了什么吗?或者它是我必须在防火墙或其他任何地方配置的东西?
先感谢您
解决方案
最后,在Windows防火墙上配置防火墙端口是错误的。
只需正确配置 TCP 端口 9200 即可修复
推荐阅读
- r - 在箱线图中添加线条,如何知道因子在 x 轴上的位置?
- sql - 从匹配模式 postgresql 的字符串中删除字符
- javascript - 在 javascript 中使用 mailchimp API 显示终端中的所有项目
- javascript - 为什么我的 Mongoose 用户导入无效?未捕获的 TypeError:分配给常量变量
- arrays - 如何从plsql中的表列创建一个数组
- java - 为什么这个功能接口是有效的
- javascript - firebase 数据库上的推送通知已更改
- c# - 在 .NET Core 中以字符串形式返回视图 - 代码冗余
- go - JSON 数据作为 PubSub 的消息
- css - 覆盖 MuiCheckbox 的悬停样式