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.