# Can't connect remotely to ES

**URL:** <https://discuss.elastic.co/t/cant-connect-remotely-to-es/75409>\
**Category:** Elasticsearch\
**Created:** [February 16, 2017, 10:38pm UTC](https://discuss.elastic.co/t/cant-connect-remotely-to-es/75409 "2017-02-16T22:38:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pliu](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@pliu](https://discuss.elastic.co/u/pliu)\
**Post date:** [February 16, 2017, 10:38pm UTC](https://discuss.elastic.co/t/cant-connect-remotely-to-es/75409/1 "2017-02-16T22:38:04Z")

</div>

I downloaded Elasticsearch 5.2 on a Linux 16.04 server running on Azure and ran it. I can curl port 9200 locally but cannot do so remotely. I changed network.host to 0.0.0.0 in elasticsearch.yml and have ensured that ports 9200 and 9300 are open on Azure. I was wondering if anybody might have insight as to the issue.

Thank you!

---

<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:** [February 17, 2017, 6:55am UTC](https://discuss.elastic.co/t/cant-connect-remotely-to-es/75409/2 "2017-02-17T06:55:58Z")

</div>

Can you share your logs?

---

<div class="post-metadata">

**Author:** ![pliu](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@pliu](https://discuss.elastic.co/u/pliu)\
**Post date:** [February 17, 2017, 7:37am UTC](https://discuss.elastic.co/t/cant-connect-remotely-to-es/75409/3 "2017-02-17T07:37:09Z")

</div>

Uh, OK... weird... while I was copying logs and getting screenshots, it appears to have worked now... Sorry for wasting your time.

I'm going to assume it was the network I was on because that was the only thing that changed between when I was having issues and now.

Sorry again.

---

<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 17, 2017, 7:37am UTC](https://discuss.elastic.co/t/cant-connect-remotely-to-es/75409/4 "2017-03-17T07:37:52Z")

</div>

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