ElasticSearch 端口介绍(9200、9300)
19200端口9200作为Http协议,主要用于外部通讯。一般都是给ElasticSearch-Head等工具连接ElasticSearch使用的。29300端口9300作为Tcp协议,jar之间就是通过tcp协议通讯。ES集群之间是通过9300进行通讯。我们Spring Boot连接ElasticSearch用的都是9300。...
·
1 9200端口
9200作为Http协议,主要用于外部通讯。
一般都是给ElasticSearch-Head等工具连接ElasticSearch使用的。
2 9300端口
9300作为Tcp协议,jar之间就是通过tcp协议通讯。
ES集群之间是通过9300进行通讯。
我们Spring Boot连接ElasticSearch用的都是9300。
更多推荐
已为社区贡献37条内容
所有评论(0)