Transport.publish_host and network.publish_host


(Yu Watanabe) #1

I appreciate if someone can help me out .

I have read two sections in the reference but did not understand in what situations network.publish_host (9200/tcp) is used between the nodes.

transport module is clearly stated in below section,
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-transport.html

however, below section does not state the usage of 9200/tcp between the nodes.

https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html

So my question is , in what situations does nodes use 9200/tcp for its internal communications?


(Nik Everett) #2

Tcp/9200 is the default port for nodes to listen to for the internode
protocol. All nodes in a cluster connect to every other node using that
port.

Usually the host we listen to and the publish host should be the same. The
only time you should need to configure the publish host is when the nodes
have something between them.


(Yu Watanabe) #3

nik9000

Thank you for the reply.

I have a customer who chooses to split the network for node internal
communication and log ingestion. I will use publish_host for my case.


(system) #4

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