# Exiting: fail to create the Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to get the Kibana version: HTTP GET request ls: fail to execute the HTTP GET request: Get http://localhost:5601/api/status: dial tcp localhost:5601

**URL:** https://discuss.elastic.co/t/exiting-fail-to-create-the-kibana-loader-error-creating-kibana-client-error-creating-kibana-client-fail-to-get-the-kibana-version-http-get-request-ls-fail-to-execute-the-http-get-request-get-http-localhost-5601-api-status-dial-tcp-localhost-5601/309310
**Category:** Kibana
**Created:** [July 11, 2022, 10:55am UTC](https://discuss.elastic.co/t/exiting-fail-to-create-the-kibana-loader-error-creating-kibana-client-error-creating-kibana-client-fail-to-get-the-kibana-version-http-get-request-ls-fail-to-execute-the-http-get-request-get-http-localhost-5601-api-status-dial-tcp-localhost-5601/309310 "2022-07-11T10:55:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jass](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@Jass](https://discuss.elastic.co/u/Jass)
#### Post date: [July 11, 2022, 10:55am UTC](https://discuss.elastic.co/t/exiting-fail-to-create-the-kibana-loader-error-creating-kibana-client-error-creating-kibana-client-fail-to-get-the-kibana-version-http-get-request-ls-fail-to-execute-the-http-get-request-get-http-localhost-5601-api-status-dial-tcp-localhost-5601/309310/1 "2022-07-11T10:55:08Z")

</div>

Hello,  
Currently I am working on Elasticsearch, filebeat and Kibana. I do have a problem with Kibana. When I execute the commande "sudo **filebeat** setup" , I got this kind of message error :

Loaded index template  
Loading dashboards (Kibana must be running and reachable)  
**Exiting:** fail to create the Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to get the Kibana version: HTTP GET request ls: fail to execute the HTTP GET request: Get [http://localhost:5601/api/status:](http://localhost:5601/api/status:) dial tcp localhost:5601: connect: connection refused. Response: .

Please anyone to help me and thanks in advance .

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [July 14, 2022, 11:48pm UTC](https://discuss.elastic.co/t/exiting-fail-to-create-the-kibana-loader-error-creating-kibana-client-error-creating-kibana-client-fail-to-get-the-kibana-version-http-get-request-ls-fail-to-execute-the-http-get-request-get-http-localhost-5601-api-status-dial-tcp-localhost-5601/309310/2 "2022-07-14T23:48:11Z")

</div>

Hi Jass,

Are your filebeat and kibana both on the same machine (localhost)?

Is your Kibana running and you can open it in your browser?

Is that the correct URL for your kibana [http://localhost:5601](http://localhost:5601)? Or is it https?

What OS are you running Kibana on?  
What version of Kibana, Elasticsearch, Filebeat?  
Did you install from tar.gz archive or deb or rpm package?

Regards,  
Lee

---

<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: [August 11, 2022, 11:49pm UTC](https://discuss.elastic.co/t/exiting-fail-to-create-the-kibana-loader-error-creating-kibana-client-error-creating-kibana-client-fail-to-get-the-kibana-version-http-get-request-ls-fail-to-execute-the-http-get-request-get-http-localhost-5601-api-status-dial-tcp-localhost-5601/309310/3 "2022-08-11T23:49:05Z")

</div>

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