Curl -X GET http://localhost:9200 is working BUT not http//

Hello, I have installed Elasticsearch on Hortonworks Sandbox with HDP

  • YES I could start elastic search
  • YES curl is working

[alumno@sandbox ~]$ curl -X GET http://localhost:9200
"name" : "",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "yrpFq-ltSaq51zj7Von79w",
"version" : {
"number" : "7.3.1",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "4749ba6",
"build_date" : "2019-08-19T20:19:25.651794Z",
"build_snapshot" : false,
"lucene_version" : "8.1.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
"tagline" : "You Know, for Search"

  • I tried different configuration in elasticsearch.yml But still curl is working but not http
#network.bind_host: localhost

  • I open the ports 9200 and 9300 in Hortonworks Sandbox with HDP

  • I saw in internet that we have to configure
    BUT when I do this, then elasticsearch don´t start.

Can someone have an idea of what I could try ?

Thank You -

To use : requires additional settings perhaps take a look at this post

You are missing a colon in the second URL. Is that just a typo here?

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