# Winlogbeat Connection Refused

**URL:** <https://discuss.elastic.co/t/winlogbeat-connection-refused/207399>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [November 11, 2019, 5:14pm UTC](https://discuss.elastic.co/t/winlogbeat-connection-refused/207399 "2019-11-11T17:14:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.whittaker](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@michael.whittaker](https://discuss.elastic.co/u/michael.whittaker)\
**Post date:** [November 11, 2019, 5:14pm UTC](https://discuss.elastic.co/t/winlogbeat-connection-refused/207399/1 "2019-11-11T17:14:57Z")

</div>

Running 7.4, trying to push WIN10 events to Ubuntu Elasticsearch. Seeing the following when debugging on the Win10 box:  
"2019-11-11T12:08:14.383-0500 ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch([http://172.16.42.130:9200](http://172.16.42.130:9200))): Get [http://172.16.42.130:9200](http://172.16.42.130:9200): dial tcp 172.16.42.130:9200: connectex: No connection could be made because the target machine actively refused it."  
Please assist.

---

<div class="post-metadata">

**Author:** ![philippkahr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/philippkahr/32/100137_2.png) [@philippkahr](https://discuss.elastic.co/u/philippkahr)\
**Post date:** [November 12, 2019, 6:57pm UTC](https://discuss.elastic.co/t/winlogbeat-connection-refused/207399/2 "2019-11-12T18:57:05Z")

</div>

Can you reach the elasticsearch when you do a `curl http://172.16.42.130:9200` in powershell? Could be a firewall issue.

---

<div class="post-metadata">

**Author:** ![michael.whittaker](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@michael.whittaker](https://discuss.elastic.co/u/michael.whittaker)\
**Post date:** [November 13, 2019, 4:09pm UTC](https://discuss.elastic.co/t/winlogbeat-connection-refused/207399/3 "2019-11-13T16:09:20Z")

</div>

I got it, thanks. Had to change "localhost" to "0.0.0.0".

---

<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:** [December 11, 2019, 4:09pm UTC](https://discuss.elastic.co/t/winlogbeat-connection-refused/207399/4 "2019-12-11T16:09:23Z")

</div>

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