# \[Solved\] Elasticsearch not accessible over internet through ip addresss

**URL:** <https://discuss.elastic.co/t/solved-elasticsearch-not-accessible-over-internet-through-ip-addresss/55521>\
**Category:** Elasticsearch\
**Created:** [July 14, 2016, 12:59pm UTC](https://discuss.elastic.co/t/solved-elasticsearch-not-accessible-over-internet-through-ip-addresss/55521 "2016-07-14T12:59:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VVasanth](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@VVasanth](https://discuss.elastic.co/u/VVasanth)\
**Post date:** [July 14, 2016, 12:59pm UTC](https://discuss.elastic.co/t/solved-elasticsearch-not-accessible-over-internet-through-ip-addresss/55521/1 "2016-07-14T12:59:39Z")

</div>

Hi,

We are facing issues while accessing elasticsearch over ip address on internet in AWS Windows environment.

Could you please help me resolve this issue?

I have tried various options of modifying network.host parameter and network.bind\_host paramter, without any luck.

Would be really grateful if you can provide with the valid elasticsearch.yml file.

Request your kind help!

Thanks,  
V.Vasanth

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 14, 2016, 7:15pm UTC](https://discuss.elastic.co/t/solved-elasticsearch-not-accessible-over-internet-through-ip-addresss/55521/2 "2016-07-14T19:15:45Z")

</div>

You have to set `network.host` to the private IP or public if you need to access it from outside of AWS I guess.  
Check that your security group allows the 9200 traffic from your IP address to this machine.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 14, 2016, 9:47pm UTC](https://discuss.elastic.co/t/solved-elasticsearch-not-accessible-over-internet-through-ip-addresss/55521/3 "2016-07-14T21:47:43Z")

</div>

> [@VVasanth](#):
>
> We are facing issues while accessing elasticsearch over ip address on internet in AWS Windows environment.

Be careful with this, without proper access control you may end up with dataloss or exposure.

---

<div class="post-metadata">

**Author:** ![VVasanth](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@VVasanth](https://discuss.elastic.co/u/VVasanth)\
**Post date:** [July 18, 2016, 6:07pm UTC](https://discuss.elastic.co/t/solved-elasticsearch-not-accessible-over-internet-through-ip-addresss/55521/4 "2016-07-18T18:07:08Z")

</div>

Hi,

Thanks for your replies!!!

Tried all option in elasticsearch conf file by setting both private and public address on AWS system, without any luck.

Would like to consider following points as well:

--\> When I set the Elasticsearch in local desktop, I am able to access the elasticsearch over ip address.  
--\> I am able to access Kibana hosted in AWS, using the private ip address of the machine. (which implies 560X port is opened to internet)  
--\> Even if I configure Elasticsearch to run in one of the ports of Kibana (say 5605) in AWS, it is not accessible over ip address.

Could you please help me with the inputs on how can I solve this issue?

Thanks,  
V.Vasanth

---

<div class="post-metadata">

**Author:** ![VVasanth](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@VVasanth](https://discuss.elastic.co/u/VVasanth)\
**Post date:** [July 21, 2016, 8:52am UTC](https://discuss.elastic.co/t/solved-elasticsearch-not-accessible-over-internet-through-ip-addresss/55521/5 "2016-07-21T08:52:43Z")

</div>

Hi All,

This issue has got resolved finally!!!

Following are the additional configurations that required to be done on AWS side for exposing the port over internet:

--\> In AWS Console, configured the inbound ports with the ElasticSearch port.  
-- In Windows Firewall of the machine, created an inbound rule for the ElasticSearch port to make it open.

Thanks a lot for your support!!!

---

<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:** [July 5, 2017, 10:33pm UTC](https://discuss.elastic.co/t/solved-elasticsearch-not-accessible-over-internet-through-ip-addresss/55521/6 "2017-07-05T22:33:45Z")

</div>


