# Filebeat setup -e fails Error kibana fail to get version

**URL:** <https://discuss.elastic.co/t/filebeat-setup-e-fails-error-kibana-fail-to-get-version/274337>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 28, 2021, 12:15pm UTC](https://discuss.elastic.co/t/filebeat-setup-e-fails-error-kibana-fail-to-get-version/274337 "2021-05-28T12:15:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Boos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_boos/32/72670_2.png) [@Peter\_Boos](https://discuss.elastic.co/u/Peter_Boos)\
**Post date:** [May 28, 2021, 12:15pm UTC](https://discuss.elastic.co/t/filebeat-setup-e-fails-error-kibana-fail-to-get-version/274337/1 "2021-05-28T12:15:53Z")

</div>

I have Kibana and elastic search running, in a non clustered local environment.  
This has been running filebeat for maybe a year or a little less.  
Between a test machine and a Elk server.  
Its a pretty basic config, logstash is not configured and no security  
(its on a segment where no-one has access to except 2 admins).

So a year later it was decided to make more use of it, and add another client to the ELK  
So I installed filebeat, and tried to run **filebeat setup -e**  
The first time it failed, because newly installed filebeat had stuff newer than the ELK server  
So i decided to upgrade ELK, the upgrade process warned me of some altered .yml files :

- kibana.yml
- elasticsearch.yml
- logstash.yml

I decided to keep those (as they contained some specific tunings)  
Mainly server urls and port settings, i tought it would be normal to keep them when upgrading..  
So then I re tried on the other machine **filebeat setup -e**  
I no longer had the problems with newer local filebeat but i got different errors now:

```auto
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://elk.company.com:5601/api/status fails: fail to execute the HTTP GET request: Get "http://elk.company.com:5601/api/status": dial tcp 172.16.10.46:5601: connect: connection refused. Response: .

```

I have no idea what causes this some help would be great.  
Might it be because i kept those .yml files ?, can they be downloaded seperatly so i can compare them if something goes wrong ?.

---

<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 25, 2021, 2:16pm UTC](https://discuss.elastic.co/t/filebeat-setup-e-fails-error-kibana-fail-to-get-version/274337/2 "2021-06-25T14:16:25Z")

</div>

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