Elasticsearch service not accessible from external system

I have installed elasticsearch on CentOS and trying to start the service in a single-node mode. I see that the service is bound properly at 10.100.1.197. However, when I execute the command http://10.100.1.197:9200, I get connection refused error. However, I can ping 10.100.1.197 from my system. Is there any other configuration required to access the service from external machines ?

 publish_address {10.100.1.197:9200}, bound_addresses {10.100.1.197:9200}

Firewall issue may be on CentOS

sudo firewall-cmd --zone=public --add-port=9200/tcp --permanent
sudo firewall-cmd --reload

Thanks. It worked.

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