Bind errors on startup

I am adding a new node to the cluster for the first time and I get the following error:

[2022-01-20T12:56:40,832][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [secmonprd01] deprecation component started
[2022-01-20T12:56:40,983][ERROR][o.e.b.Bootstrap          ] [secmonprd01] Exception org.elasticsearch.transport.BindTransportException: Failed to bind to [::1]:[9300-9400]

I have no idea why it is trying to bind to a V6 address. I have the following network configuration:

# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
network.bind_host: [130.216.5.128,localhost]
network.publish_host: [130.216.5.128]

Given that the error mentions [9300-9400] I added the explicit bind & publish variants

I would try using network.host: 0.0.0.0 and see if that helps.

Thanks Mark.

That got it started. Weird as the yaml file is generated by puppet and identical to the other cluster members apart from the IP addresses that puppet supplies.

Changed the puppet config to use 0.0.0.0 for all...

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