# Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://localhost:5601/api/status fails: fail to execute the HTTP GET request

**URL:** <https://discuss.elastic.co/t/exiting-error-connecting-to-kibana-fail-to-get-the-kibana-version-http-get-request-to-http-localhost-5601-api-status-fails-fail-to-execute-the-http-get-request/291933>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [December 15, 2021, 9:20am UTC](https://discuss.elastic.co/t/exiting-error-connecting-to-kibana-fail-to-get-the-kibana-version-http-get-request-to-http-localhost-5601-api-status-fails-fail-to-execute-the-http-get-request/291933 "2021-12-15T09:20:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![M\_Solis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m_solis/32/78256_2.png) [@M\_Solis](https://discuss.elastic.co/u/M_Solis)\
**Post date:** [December 15, 2021, 9:20am UTC](https://discuss.elastic.co/t/exiting-error-connecting-to-kibana-fail-to-get-the-kibana-version-http-get-request-to-http-localhost-5601-api-status-fails-fail-to-execute-the-http-get-request/291933/1 "2021-12-15T09:20:04Z")

</div>

Hello Everyone,

I'm new to ELK Stack. Im trying to run the winlogbeat on a windows server but I'm experiencing some issues. _Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to [http://localhost:5601/api/status](http://localhost:5601/api/status) fails: fail to execute the HTTP GET request_ I'm running the ELK and Kibana on the same host. The winlogbeat is running on a different host. Tried to turned off the firewall on both hosts and allowed the port 5601 and 9200 but issue still persists.

CONFIG:

Elasticsearch:  
bootstrap.memory\_lock: true  
network.host: xx.xx.x.xx  
http.port: 9200  
discovery.type: single-node  
xpack.securirty.enabled: true

Kibana:

server.port: 5601  
server.host: xx.xx.x.xx  
Elasticsearch.hosts: ['http:xx.xx.x.xx:9200']  
Elasticsearch.username: "kibana\_system"  
Elasticsearch.password: "zlwZQV2BfJ4oT7ctdjy7"

Winlogbeat:  
winlogbeat.event\_logs:

- name: System  
ignore\_older: 10h  
level: information  
event\_id: 1074  
setup.template.settings:  
index.number\_of\_shards: 1  
setup.kibana:  
host: "xx.xx.x.x:5601"  
username: "kibana\_system"  
password: "zlwZQV2BfJ4oT7ctdjy7"  
output.Elasticsearch:  
hosts: ["xx.xx.x.xx:9200"]  
username: "elastic"  
password: "jype0BFLuVFwlvWYojpR"  
processors:
- add\_host\_metadata:  
when.not.contains.tags: forwarded
- add\_cloud\_metadata: ~

---

<div class="post-metadata">

**Author:** ![M\_Solis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m_solis/32/78256_2.png) [@M\_Solis](https://discuss.elastic.co/u/M_Solis)\
**Post date:** [December 15, 2021, 9:20am UTC](https://discuss.elastic.co/t/exiting-error-connecting-to-kibana-fail-to-get-the-kibana-version-http-get-request-to-http-localhost-5601-api-status-fails-fail-to-execute-the-http-get-request/291933/2 "2021-12-15T09:20:51Z")

</div>

![tesoutput](https://us1.discourse-cdn.com/elastic/original/3X/0/7/07bb8429be2d9094e1fcd2aba27e0296bd1f53e6.jpeg)  
I've ran a test output as well.

---

<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:** [January 12, 2022, 11:21am UTC](https://discuss.elastic.co/t/exiting-error-connecting-to-kibana-fail-to-get-the-kibana-version-http-get-request-to-http-localhost-5601-api-status-fails-fail-to-execute-the-http-get-request/291933/3 "2022-01-12T11:21:47Z")

</div>

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