Installing Opendistro ES on Amazon Linux - ES running but empty reply form server

I am installing Opendistro Elasticsearch using RPM into Amazon Linux based EC2 instance.
I see my ES is running but when I do curl http://localhost:9200/ it returns the below error:
curl: (52) Empty reply from server .

I tried the below ways of updating the network_host :network.host: [ "eth0", "127.0.0.1" ]
network.host: 127.0.0.1
network.host: [ "eth0", "127.0.0.1" ::[1] ]
network.host: 127.0.0.1:9200

I can see that the service is running on port 9200. Heap memory and limit.conf settings are all increased. All values appears to be correct but still unable to figure out why this fails.

I figured out the solution: I added discovery.type: single-node to my elasticsear h.yml since I want to run single node and it worked.

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