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 However, when I execute the command, I get connection refused error. However, I can ping from my system. Is there any other configuration required to access the service from external machines ?

 publish_address {}, bound_addresses {}

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.