# Cannot connect to remote ElasticSearch server

**URL:** <https://discuss.elastic.co/t/cannot-connect-to-remote-elasticsearch-server/173308>\
**Category:** Elasticsearch\
**Created:** [March 21, 2019, 12:54pm UTC](https://discuss.elastic.co/t/cannot-connect-to-remote-elasticsearch-server/173308 "2019-03-21T12:54:41Z")\
**Posts on this page:** 4\
**Page:** 3

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [March 26, 2019, 8:32am UTC](https://discuss.elastic.co/t/cannot-connect-to-remote-elasticsearch-server/173308/41 "2019-03-26T08:32:52Z")

</div>

> [@Miao](#):
>
> > can you access anything at all on that machine from your local machine using the address `10.0.1.4` ?
> 
> No.

Ok, this indicates that the problem is independent of Elasticsearch, and therefore cannot be solved by altering Elasticsearch's config. You need to resolve this connectivity issue first.

---

<div class="post-metadata">

**Author:** ![Miao](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Miao](https://discuss.elastic.co/u/Miao)\
**Post date:** [March 26, 2019, 8:33am UTC](https://discuss.elastic.co/t/cannot-connect-to-remote-elasticsearch-server/173308/42 "2019-03-26T08:33:52Z")

</div>

Thank you for your diagnosis, @DavidTurner. 🙂

---

<div class="post-metadata">

**Author:** ![thn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thn/32/8061_2.png) [@thn](https://discuss.elastic.co/u/thn)\
**Post date:** [March 26, 2019, 2:14pm UTC](https://discuss.elastic.co/t/cannot-connect-to-remote-elasticsearch-server/173308/43 "2019-03-26T14:14:39Z")

</div>

I agree with what @DavidTurner said... I recommend to install elasticsearch on a server that your laptop can get to... once you get it working... look into the VM that you are using to see what you need to do to get your laptop talking to the VM before installing elasticsearch in the VM.

---

<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:** [April 23, 2019, 2:14pm UTC](https://discuss.elastic.co/t/cannot-connect-to-remote-elasticsearch-server/173308/44 "2019-04-23T14:14:47Z")

</div>

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-connect-to-remote-elasticsearch-server/173308.md?page=2)
