# Cannot get to Elasticsearch on port 9200 from a remote machine

**URL:** <https://discuss.elastic.co/t/cannot-get-to-elasticsearch-on-port-9200-from-a-remote-machine/212406>\
**Category:** Elasticsearch\
**Created:** [December 18, 2019, 9:20pm UTC](https://discuss.elastic.co/t/cannot-get-to-elasticsearch-on-port-9200-from-a-remote-machine/212406 "2019-12-18T21:20:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge\_Hernandez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jorge_hernandez/32/44283_2.png) [@Jorge\_Hernandez](https://discuss.elastic.co/u/Jorge_Hernandez)\
**Post date:** [December 18, 2019, 9:20pm UTC](https://discuss.elastic.co/t/cannot-get-to-elasticsearch-on-port-9200-from-a-remote-machine/212406/1 "2019-12-18T21:20:36Z")

</div>

Hey guys,

I have a Linux machine running Elasticsearch, I'm trying to add a Windows machine to it to capture the logs, I installed winlogbeat to the windows machine, but when I try to run winlogbeat.exe setup, it says it cannot get to the Linux server with Elasticsearch on it, I ran a portscan and it shows port 9200 is open and curl -XGET 127.0.0.1:9200 does give me something from the server itself, but it looks like the Windows machine cannot get to it, other machines can browse [http://elasticsearch.example.com:9200](http://elasticsearch.example.com:9200), but not this Windows machine, what can be the problem?

Thanks.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 19, 2019, 10:25am UTC](https://discuss.elastic.co/t/cannot-get-to-elasticsearch-on-port-9200-from-a-remote-machine/212406/2 "2019-12-19T10:25:04Z")

</div>

you probably need to change the default elasticsearch configuration to listen on the network and not just localhost and 127.0.0.1 (that is the default).

---

<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:** [January 16, 2020, 10:25am UTC](https://discuss.elastic.co/t/cannot-get-to-elasticsearch-on-port-9200-from-a-remote-machine/212406/3 "2020-01-16T10:25:07Z")

</div>

Closed on January 16, 2020, 10:25am UTC

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