# Cannot access elasticsearch from my browser and curl command not working for public ip from server terminal

**URL:** <https://discuss.elastic.co/t/cannot-access-elasticsearch-from-my-browser-and-curl-command-not-working-for-public-ip-from-server-terminal/166881>\
**Category:** Elasticsearch\
**Created:** [February 3, 2019, 9:32pm UTC](https://discuss.elastic.co/t/cannot-access-elasticsearch-from-my-browser-and-curl-command-not-working-for-public-ip-from-server-terminal/166881 "2019-02-03T21:32:41Z")\
**Posts on this page:** 3\
**Page:** 2

<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:** [February 3, 2019, 11:01pm UTC](https://discuss.elastic.co/t/cannot-access-elasticsearch-from-my-browser-and-curl-command-not-working-for-public-ip-from-server-terminal/166881/21 "2019-02-03T23:01:58Z")

</div>

There must be something outside of Elasticsearch that is handling that.

---

<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:** [February 4, 2019, 5:07am UTC](https://discuss.elastic.co/t/cannot-access-elasticsearch-from-my-browser-and-curl-command-not-working-for-public-ip-from-server-terminal/166881/22 "2019-02-04T05:07:10Z")

</div>

I don't know how but after restarting my server many times and it worked after 4 hours. This is really out of my thinking. I will need to check each setting to look where exactly change happened. Thanks for your kind help. Really appreciate it.

---

<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:** [March 4, 2019, 5:07am UTC](https://discuss.elastic.co/t/cannot-access-elasticsearch-from-my-browser-and-curl-command-not-working-for-public-ip-from-server-terminal/166881/23 "2019-03-04T05:07:21Z")

</div>

Closed on March 4, 2019, 5:07am UTC

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

[Previous page](https://discuss.elastic.co/t/cannot-access-elasticsearch-from-my-browser-and-curl-command-not-working-for-public-ip-from-server-terminal/166881.md?page=1)
