Elastic search access URL

I Installed Elastic search in Linux machine (houtestdb1), and It's running fine as following URL:

curl -X GET 'http://localhost:9200/logstash-test-01/_search?pretty=1' -d '{}'

logstash-test-01 --> It's index.

Now, I'm accessing From other windows machine from following path.
http://houtestdb1.oii.oiiads.com:9200/logstash-test-01/_search?pretty=1'

This is not accessible from windows machine. Could you please tell me how can i access this url from other windows machine?

Sumit

what are elasticsearch server logs ?

Can you share them?

May be you did not configure network.host?

Here is my logs from /app/elasticsearch-2.3.4/logs/elasticsearch.log

[2017-10-11 21:33:16,478][INFO ][cluster.metadata ] [Nicholas Scratch] [logstash-test-05] creating index, cause [auto(bulk api)], templates [logstash], shards [5]/[1], mappings [default, mydate]
[2017-10-11 21:33:16,981][INFO ][cluster.routing.allocation] [Nicholas Scratch] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[logstash-test-05][4], [logstash-test-05][4]] ...]).
[2017-10-11 21:33:17,013][INFO ][cluster.metadata ] [Nicholas Scratch] [logstash-test-05] update_mapping [mydate]

and i configured following parameter in elasticsearch.yml:

network.host: 0.0.0.0
http.port: 9200

I was meaning the full logs (from the start). Please format them.

May be you have a firewall in the middle?

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