# Elasticsearch service not accessible from external system

**URL:** <https://discuss.elastic.co/t/elasticsearch-service-not-accessible-from-external-system/260892>\
**Category:** Elasticsearch\
**Created:** [January 12, 2021, 7:08pm UTC](https://discuss.elastic.co/t/elasticsearch-service-not-accessible-from-external-system/260892 "2021-01-12T19:08:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![umesh2020](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umesh2020/32/126038_2.png) [@umesh2020](https://discuss.elastic.co/u/umesh2020)\
**Post date:** [January 12, 2021, 7:08pm UTC](https://discuss.elastic.co/t/elasticsearch-service-not-accessible-from-external-system/260892/1 "2021-01-12T19:08:40Z")

</div>

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](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 ?

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

```

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [January 12, 2021, 7:20pm UTC](https://discuss.elastic.co/t/elasticsearch-service-not-accessible-from-external-system/260892/2 "2021-01-12T19:20:13Z")

</div>

Firewall issue may be on CentOS

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

```

---

<div class="post-metadata">

**Author:** ![umesh2020](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umesh2020/32/126038_2.png) [@umesh2020](https://discuss.elastic.co/u/umesh2020)\
**Post date:** [January 13, 2021, 5:12pm UTC](https://discuss.elastic.co/t/elasticsearch-service-not-accessible-from-external-system/260892/3 "2021-01-13T17:12:49Z")

</div>

> [@ylasri](#):
>
> CentOS

Thanks. It worked.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 10, 2021, 5:12pm UTC](https://discuss.elastic.co/t/elasticsearch-service-not-accessible-from-external-system/260892/4 "2021-02-10T17:12:52Z")

</div>

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