Cluster problem

Hi,

I wanted to create an elasticsearch cluster, this is the changes I made :

cluster.name: network-logs
node.name: network-1
network.host: 172.16.250.29
discovery.zen.ping.unicast.hosts: ["172.16.250.29"]

But the curl doesn't work :

# curl -XGET 'http://localhost:9200/_cluster/state?pretty'
curl: (7) Failed connect to localhost:9200; Connection refused

Given your host IP:

You should replace "localhost" with the IP address:

curl -XGET 'http://172.16.250.29:9200/_cluster/state?pretty'

The curl works , but not kibana :

You need to configure the correct elasticsearch.url in kibana.yml and then restart Kibana to make it connect to the server by name or IP (and not by localhost).

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