I have installed Elastic Search on RHEL 6.9. I am facing a weird issue, I am running elastic on port 17000. when I am trying to access ElasticSearch through IP address it says Connection Refused, from internal as well as external network. However, when I am running a nodejs server on the same port, it is accessible through IP address from anywhere. Clearly it's not a firewall issue.
I even tried configuring network.publish_host and network.host, however with these fields configured the elasticsearch service didn't start.
I even tried updating /etc/hosts and restarted the network service still no luck. it still says connection refused.