ES nodes should talk on TCP or HTTP?

Setup is
3 master nodes
2 coordinating nodes
2 data nodes

Currently i have below property set on all nodes and i assume my nodes talk on HTTP:
http.cors.allow-origin: "*"
http.cors.enabled: true

Query:
Is it worthwhile making the nodes talk on TCP by setting the below property and removing above 2 properties:
transport.tcp.port: 9300 ?

Any ES recommendations on this ?

There is no way (or reason) to disable TCP. Elasticsearch uses both HTTP and TCP for communication; HTTP is used for client requests (from us users, Kibana etc) while TCP is for internal cluster state communication.

If you don't specify transport.tcp.port, in your elasticsearch.yml file, it will simply get a default value in the range 9300-9400 (see the TCP Transport documentation), so you really don't need to set it.

Thanks. That helps.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.