Cluster problem

(Salma Ait Lhaj) #1


I wanted to create an elasticsearch cluster, this is the changes I made : network-logs network-1 [""]

But the curl doesn't work :

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

(Bernt Rostad) #2

Given your host IP:

You should replace "localhost" with the IP address:

curl -XGET ''

(Salma Ait Lhaj) #3

The curl works , but not kibana :

(Bernt Rostad) #4

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).

(system) #5

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