# Connection error between filebeat and kibana

**URL:** https://discuss.elastic.co/t/connection-error-between-filebeat-and-kibana/272058
**Category:** Beats
**Tags:** elastic-stack-security, filebeat
**Created:** [May 4, 2021, 10:43am UTC](https://discuss.elastic.co/t/connection-error-between-filebeat-and-kibana/272058 "2021-05-04T10:43:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![babi2002](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@babi2002](https://discuss.elastic.co/u/babi2002)
#### Post date: [May 4, 2021, 10:43am UTC](https://discuss.elastic.co/t/connection-error-between-filebeat-and-kibana/272058/1 "2021-05-04T10:43:52Z")

</div>

Hi to all,

I'm a newby into the Elastic Stack. I'm installing a wazuh-manager server and I need to monitor our firewalls via syslog. I have configured Wazuh manager, and I receive syslog messages from our firewall.

I've installed filebeat but when I execute the command `sudo filebeat setup`, i've receiving this:

```
xxx@xxx:~$ sudo filebeat setup
ILM policy and write alias loading not enabled.

Index setup finished.
Loading dashboards (Kibana must be running and reachable)
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://127.0.0.1:5601/api/status fails: fail to execute the HTTP GET request: Get "https://127.0.0.1:5601/api/status": dial tcp 127.0.0.1:5601: connect: connection refused. Response: .

```

If I try to get the kibana API status from the local host, I receive this:

```
xxx@xxx:~$ curl http://127.0.0.1:5601/
curl: (7) Failed to connect to 127.0.0.1 port 5601: Connection refused

```

How can I check if the kibana API is working fine?? Because, it seems the API port is not listening for new connections... Must I do anything in the kibana.yml file??

I'm lost with this issue........ Anyone can help me??

Thanks in advance!!

KR  
David.

---

<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 1, 2021, 12:44pm UTC](https://discuss.elastic.co/t/connection-error-between-filebeat-and-kibana/272058/2 "2021-06-01T12:44:01Z")

</div>

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