I have installed elasticsearch But when i am trying to run curl it is resulting to the error "connection refused" following are the few observations.
If i configure network.host to localhost in elasticsearch.yml it is working fine and netstat -tupln | grep java shows 127.0.0.1:9200 and 127.0.0.1:9300
If i configure http.host to FQDN in elasticsearch.yml curl fails and netstat shows only 127.0.0.1:9300
If I configure network.host to FQDN in elasticsearch.yml curl fails and netstat shows nothing related to elasticsearch
Please help to sort this out. How can i restrict curl avoiding go through external proxy and external firewall ?