In the following file:
sudo nano /etc/elasticsearch/elasticsearch.yml
What is the current value for network.host
? The default is 192.168.0.1
. This should be changed to either:
-
localhost
or 0.0.0.0
You’ll need to restart elasticsearch for the changes to take affect. I’d suggest trying each value and checking that it runs ok.