# Filebeat cannot connect to ELK

**URL:** <https://discuss.elastic.co/t/filebeat-cannot-connect-to-elk/289076>\
**Category:** Kibana\
**Created:** [November 12, 2021, 2:35pm UTC](https://discuss.elastic.co/t/filebeat-cannot-connect-to-elk/289076 "2021-11-12T14:35:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bropid](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@bropid](https://discuss.elastic.co/u/bropid)\
**Post date:** [November 12, 2021, 2:35pm UTC](https://discuss.elastic.co/t/filebeat-cannot-connect-to-elk/289076/1 "2021-11-12T14:35:20Z")

</div>

Hey, i'm trying to input the apache2 visualize dashboard but when i run this command said connection refused

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/e/3ee855845939bc9256f7e9204988691d5f50ec31.png)

everytime i try try to connect to my ELK in my VM1 with my webserver with apache2 and filebeat, the connection is always refused. I have tried to disabled ufw but it still not works.

this is what happened when i run filebeat test output  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/5/05116f1019f54f064a608610143f366bc00631d6.png)

if you need some config or else just tell me,  
thanks

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [November 12, 2021, 8:12pm UTC](https://discuss.elastic.co/t/filebeat-cannot-connect-to-elk/289076/2 "2021-11-12T20:12:20Z")

</div>

The first error is about reaching / connecting to Kibana not Elasticsearch during the setup command? Is Kibana running on a different IP address

By the way you want to run the full setup command not just dashboards or you will not get the results you are expecting.

Just run

`filebeat setup -e`

The output test only test connectivity to Elasticsearch

BTW posting screenshots is discouraged as they are hard to read cannot be searched and others may not even be able to view them in the future please post them as text.

---

<div class="post-metadata">

**Author:** ![titan\_tm](https://avatars.discourse-cdn.com/v4/letter/t/2acd7d/32.png) [@titan\_tm](https://discuss.elastic.co/u/titan_tm)\
**Post date:** [November 22, 2021, 11:06am UTC](https://discuss.elastic.co/t/filebeat-cannot-connect-to-elk/289076/3 "2021-11-22T11:06:32Z")

</div>

Hi,  
I'm currently facing the similar problem. I'm getting data from filebeat to Elasticsearch and logs are coming and can be found in "discovery" which is great -) but I can't use the dashboard -(. Filebeat succesfully installed dashboads in Kibana but the shows nothing - "No results found". I use cisco module in filebeat and cisco asa dashboard. I've spent 3 days and nights solving this issue please assist -). Thank you in advance

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [November 22, 2021, 3:09pm UTC](https://discuss.elastic.co/t/filebeat-cannot-connect-to-elk/289076/4 "2021-11-22T15:09:42Z")

</div>

Hi @titan_tm welcome to the community.

First I would open a separate thread with with title like.

Cannot get Cisco Filebeat module to work.

Then in order for us to help you you will need to post your filebeat configurations.

The exact steps you took.

And the show what the data looks like in Discover.

The information you just provided in this thread gives us no information to help you with.

---

<div class="post-metadata">

**Author:** ![titan\_tm](https://avatars.discourse-cdn.com/v4/letter/t/2acd7d/32.png) [@titan\_tm](https://discuss.elastic.co/u/titan_tm)\
**Post date:** [November 23, 2021, 6:36am UTC](https://discuss.elastic.co/t/filebeat-cannot-connect-to-elk/289076/5 "2021-11-23T06:36:18Z")

</div>

Thanks for your reply. I opened a new topic as you suggested and provided all neccesary info. You can find the topic here in case if you interested -) [new topic](https://discuss.elastic.co/t/cannot-get-cisco-filebeat-module-to-work/289903)

Thank you for your support

---

<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 21, 2021, 6:36am UTC](https://discuss.elastic.co/t/filebeat-cannot-connect-to-elk/289076/6 "2021-12-21T06:36:53Z")

</div>

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