# Filebeat Doesn't open port 5066

**URL:** https://discuss.elastic.co/t/filebeat-doesnt-open-port-5066/273042
**Category:** Beats
**Tags:** filebeat
**Created:** [May 14, 2021, 3:48pm UTC](https://discuss.elastic.co/t/filebeat-doesnt-open-port-5066/273042 "2021-05-14T15:48:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Matteo\_Rainieri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matteo_rainieri/32/88775_2.png) [@Matteo\_Rainieri](https://discuss.elastic.co/u/Matteo_Rainieri)
#### Post date: [May 14, 2021, 3:48pm UTC](https://discuss.elastic.co/t/filebeat-doesnt-open-port-5066/273042/1 "2021-05-14T15:48:23Z")

</div>

Hello there.  
I'm facing a problem i cannot resolve.  
I' using filebeat for shipping elasticsearch, kibana and logstash logs and i also use metricbeat for monitor them.  
In filebeat.yml i have "http.enabled: true" to open port 5066 for monitoring.  
Today i switched from elasticsearch.output to logstash.output cause i want to put the output in elasticsearch and at the same time store the raw logs on my system (on a NFS) for back up (test for future winlogbeat deploy), but after setting up logstash.output and setting up the pipeline, when i do a netstat -antp | grep 5066 i don't see the open port, nor i see the beat on kibana's stack monitoring.  
Is this a bug? Is there any other method to send logs to elasticsearch and to a file without logstash? Or am i missing some configuration so it can't open tcp/5066?  
Thank you.

---

<div class="post-metadata">

### Author: ![Matteo\_Rainieri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matteo_rainieri/32/88775_2.png) [@Matteo\_Rainieri](https://discuss.elastic.co/u/Matteo_Rainieri)
#### Post date: [May 14, 2021, 4:32pm UTC](https://discuss.elastic.co/t/filebeat-doesnt-open-port-5066/273042/2 "2021-05-14T16:32:19Z")

</div>

I got the port open adding to the filebeat.yml  
http.host: localhost and http.port: 5066  
I was running the same issue in metricbeat, and i was using http.port: 5067, so i think binding to localhost did the trick, but on stack monitoring (kibana) i cannot see filebeat with the other beats..

---

<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: [June 11, 2021, 6:32pm UTC](https://discuss.elastic.co/t/filebeat-doesnt-open-port-5066/273042/3 "2021-06-11T18:32:49Z")

</div>

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