# FileBeat cant connect to Logstash

**URL:** <https://discuss.elastic.co/t/filebeat-cant-connect-to-logstash/199879>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 17, 2019, 7:43pm UTC](https://discuss.elastic.co/t/filebeat-cant-connect-to-logstash/199879 "2019-09-17T19:43:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Tek\_Chand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tek_chand/32/34318_2.png) [@Tek\_Chand](https://discuss.elastic.co/u/Tek_Chand)\
**Post date:** [September 19, 2019, 3:51am UTC](https://discuss.elastic.co/t/filebeat-cant-connect-to-logstash/199879/4 "2019-09-19T03:51:50Z")

</div>

@Ghaith_Haddad,

> [@Ghaith\_Haddad](#):
>
> but it seems that logstash is listening on ipv6 instead of ipv4. Any idea why?

At my end also logstash is listening on ipv6 and its working fine. ELK team also confirm same in below post:

[logstash on ipv6](https://discuss.elastic.co/t/logstash-listening-on-tcp6-only/82026)

So it seems firewall rule or service issue. Please check the logstash log also is there any error?

Thanks.

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-cant-connect-to-logstash/199879)._
