Network settings
OpenSearch uses HTTP settings to configure communication with external clients through the REST API and transport settings for internal node-to-node communication within OpenSearch.
To learn more about static and dynamic settings, see Configuring OpenSearch.
OpenSearch supports the following common network settings:
network.host
(Static, list): Binds an OpenSearch node to an address. Use0.0.0.0
to include all available network interfaces, or specify an IP address assigned to a specific interface. Thenetwork.host
setting is a combination ofnetwork.bind_host
andnetwork.publish_host
if they are the same value. An alternative tonetwork.host
is to configurenetwork.bind_host
andnetwork.publish_host
separately as needed. See Advanced network settings.http.port
(Static, single value or range): Binds an OpenSearch node to a custom port or a range of ports for HTTP communication. You can specify an address or a range of addresses. Default is9200-9300
.transport.port
(Static, single value or range): Binds an OpenSearch node to a custom port for communication between nodes. You can specify an address or a range of addresses. Default is9300-9400
.
Advanced network settings
OpenSearch supports the following advanced network settings:
network.bind_host
(Static, list): Binds an OpenSearch node to an address or addresses for incoming connections. Default is the value innetwork.host
.network.publish_host
(Static, list): Specifies an address or addresses that an OpenSearch node publishes to other nodes in the cluster so that they can connect to it.
Advanced HTTP settings
OpenSearch supports the following advanced network settings for HTTP communication:
http.host
(Static, list): Sets the address of an OpenSearch node for HTTP communication. Thehttp.host
setting is a combination ofhttp.bind_host
andhttp.publish_host
if they are the same value. An alternative tohttp.host
is to configurehttp.bind_host
andhttp.publish_host
separately as needed.http.bind_host
(Static, list): Specifies an address or addresses to which an OpenSearch node binds to listen for incoming HTTP connections.http.publish_host
(Static, list): Specifies an address or addresses that an OpenSearch node publishes to other nodes for HTTP communication.
Advanced transport settings
OpenSearch supports the following advanced network settings for transport communication:
transport.host
(Static, list): Sets the address of an OpenSearch node for transport communication. Thetransport.host
setting is a combination oftransport.bind_host
andtransport.publish_host
if they are the same value. An alternative totransport.host
is to configuretransport.bind_host
andtransport.publish_host
separately as needed.transport.bind_host
(Static, list): Specifies an address or addresses to which an OpenSearch node binds to listen for incoming transport connections.transport.publish_host
(Static, list): Specifies an address or addresses that an OpenSearch node publishes to other nodes for transport communication.