# Logstash listens on IPV6 only

**URL:** <https://discuss.elastic.co/t/logstash-listens-on-ipv6-only/83410>\
**Category:** Logstash\
**Created:** [April 24, 2017, 12:18pm UTC](https://discuss.elastic.co/t/logstash-listens-on-ipv6-only/83410 "2017-04-24T12:18:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![X\_Calibur](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@X\_Calibur](https://discuss.elastic.co/u/X_Calibur)\
**Post date:** [April 24, 2017, 12:18pm UTC](https://discuss.elastic.co/t/logstash-listens-on-ipv6-only/83410/1 "2017-04-24T12:18:39Z")

</div>

I have the following config file:

input{  
beats{  
port =\> "5043"  
}  
}

output{  
elasticsearch {  
hosts =\> ["localhost:9200"]  
index =\> "winlogbeat"  
document\_type =\> "%{[@metadata][type]}"  
user =\> "USERNAME"  
password =\> "PASS"

```
    }

```

}

However, when running **netstat -tulpn** it seems that port 5043 is being listen for IPV6 only.  
I believe that this is why I keep getting timeouts when trying to send over logs.

Appreciate the help,  
thanks

X

---

<div class="post-metadata">

**Author:** ![X\_Calibur](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@X\_Calibur](https://discuss.elastic.co/u/X_Calibur)\
**Post date:** [April 24, 2017, 12:45pm UTC](https://discuss.elastic.co/t/logstash-listens-on-ipv6-only/83410/2 "2017-04-24T12:45:18Z")

</div>

Well, oddly enough it seems to work even though it only listens on ipv6 according to netstat...

I needed to create a user and give it permissions on the index.  
now it works.

---

<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:** [May 22, 2017, 12:54pm UTC](https://discuss.elastic.co/t/logstash-listens-on-ipv6-only/83410/3 "2017-05-22T12:54:46Z")

</div>

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