【es】关于elasticsearch 9200端口和9300端口区别
发布网友
发布时间:2022-11-06 23:53
我来回答
共1个回答
热心网友
时间:2023-10-30 08:36
9200 端口
9200 是 HTTP 协议的 RESTful 接口。
9300 端口
9300 是 TCP 通讯端口,集群间和 TCP Client 都走的它。
What are ports 9200 and 9300 used for?
9200 is for REST.
9300 for nodes communication.
What are ports 9200 and 9300 used for?
https://discuss.elastic.co/t/what-are-ports-9200-and-9300-used-for/238578
Java Transport Client
https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/client.html