How to set network.host to listen to IPv6 as well?

Hello,

After struggling for hours why Filebeat can't connect to ES, I realised that this setting in elasticsearch.yaml is the culprit. It is only listening to IPv4 and not IPv6.

network.host: 0.0.0.0

I tried many different ways to add ::/0 to it, but I can't restart ES successfully.
What is the right format to listen to 0.0.0.0 and ::/0 please?

Thanks,

Just use _site_ and it will bind to all available interfaces.

Thanks for your reply.

I'm sorry I'm not following. According to this page, site is for site-local addresses.

_site_
Any site-local addresses on the system, for example 192.168.0.1 .

I would like to bind to both IPv4 and IPv6. I don't think this is the right solution. Or do you mean I should use network.host: _site_ or something?

yes try network.host: _site_

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