Add new file
This commit is contained in:
14
docs/配置/网络.md
Normal file
14
docs/配置/网络.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# 网络
|
||||
|
||||
每个ES节点有两个不同的网络通信接口:
|
||||
|
||||
- 客户端通过节点的9200端口,使用 Elasticsearch REST API 通信,称为 http interface
|
||||
- 集群节点间的是通过9300端口,称为 transport interface,它也可以用于集群之间的通讯(集群与集群的通讯), remote clusters
|
||||
|
||||
|
||||
如果在一个简单的网络中,可以直接使用 network.* 这类配置同时设置 http interface 和 transport interface
|
||||
|
||||
默认地,Elasticsearch 监听本地的 localhost 地址,不能被远程访问,表示在本地开发环境。为了组成多节点集群,或被远程客户端访问,需要调整监听的网络配置,包括 network.host 参数。
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user