Elasticsearch 5.0


(Jose Campos) #1

Hi there

I have a issue, I have installed elasticsearch 5.0, if I run for example

curl -XGET 'http://192.168.1.19:9200/_cluster/health?pretty=true'

It gives me the elasticsearch status from the same server (192.168.1.19), but if I run

curl -XGET 'http://192.168.1.19:9200/_cluster/health?pretty=true' from (192.168.1.25), it says

"curl: (7) Failed connect to 192.168.1.19:9200; No route to host"

Can you help me with this?

Waiting for your comments


(David Pilato) #2

Did you set network.host?


(Jose Campos) #3

Yes, this is my network config

---------------------------------- Network -----------------------------------

Set the bind address to a specific IP (IPv4 or IPv6):

network.host: 192.168.1.19

Set a custom port for HTTP:

http.port: 9200

For more information, see the documentation at:

http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html


(David Pilato) #4

If logs are corrects and tell you that elasticsearch is started on the IP you defined on port 9200, then may be a firewall issue?


(system) #5

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