From 5e7e517053876d7f85bee0451265f543e250759a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E9=92=8A?= Date: Mon, 17 Apr 2023 08:25:02 +0000 Subject: [PATCH] =?UTF-8?q?Update=20=E7=BD=91=E7=BB=9C.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/配置/网络.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/配置/网络.md b/docs/配置/网络.md index ebb57b1..f938ed0 100644 --- a/docs/配置/网络.md +++ b/docs/配置/网络.md @@ -2,8 +2,8 @@ 每个ES节点有两个不同的网络通信接口: -- 客户端通过节点的9200端口,使用 Elasticsearch REST API 通信,称为 http interface -- 集群节点间的是通过9300端口,称为 transport interface,它也可以用于集群之间的通讯(集群与集群的通讯), remote clusters +- 客户端通过节点的9200端口,基于HTTP协议,使用 Elasticsearch REST API 通信,称为 http interface +- 集群节点间的是通过9300端口,基于TCP协议,称为 transport interface,它也可以用于集群之间的通讯(集群与集群的通讯), remote clusters 如果在一个简单的网络中,可以直接使用 network.* 这类配置同时设置 http interface 和 transport interface @@ -19,8 +19,9 @@ ```yaml -# 同时配置 http interface 和 transport interface 的网络监听地址 -# 默认值是_local_,表示任意操作系统上的环回地址,表示仅本地访问 +# network.host可以同时配置 http interface 和 transport interface 的网络监听地址 +# 默认值是_local_,表示环回地址,表示仅本地访问,不支持远程访问 +# network.host: _local_ # http interface通信端口,可以设置成单个值或范围,如果是范围,那么就是起始值