# Elastic Search Issue cannot connect it from browser of my local machine

**URL:** <https://discuss.elastic.co/t/elastic-search-issue-cannot-connect-it-from-browser-of-my-local-machine/164927>\
**Category:** Elasticsearch\
**Created:** [January 20, 2019, 8:54am UTC](https://discuss.elastic.co/t/elastic-search-issue-cannot-connect-it-from-browser-of-my-local-machine/164927 "2019-01-20T08:54:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arvind\_Singh](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@Arvind\_Singh](https://discuss.elastic.co/u/Arvind_Singh)\
**Post date:** [January 20, 2019, 8:54am UTC](https://discuss.elastic.co/t/elastic-search-issue-cannot-connect-it-from-browser-of-my-local-machine/164927/1 "2019-01-20T08:54:49Z")

</div>

Hi I am trying to connect to elasticsearch from browser of my local machine and elastic search installed into my ubuntu server 16.04 but i cannot connect to it.

i have network.host: 0

and elastic search is being running correctly and i can run curl command on terminal of ubuntu successfully. curl -X GET "localhost:9200" is running fine and even curl -X GET "private\_ip:9200" is also running fine. however, curl -X GET "public\_ip:9200" is throwing error connection timeout and from browser of my local machine when i am hitting http://privatee\_ip:9200 or http://public\_ip:9200 , both are not working. Can you please help me here on this what i am doing wrong.

---

<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 17, 2019, 8:54am UTC](https://discuss.elastic.co/t/elastic-search-issue-cannot-connect-it-from-browser-of-my-local-machine/164927/2 "2019-02-17T08:54:52Z")

</div>

Closed on February 17, 2019, 8:54am UTC

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