# "Elasticsearch connection failure" on newly installed Elastic Security server

**URL:** https://discuss.elastic.co/t/elasticsearch-connection-failure-on-newly-installed-elastic-security-server/333707
**Category:** Elastic Security
**Created:** [May 18, 2023, 3:11am UTC](https://discuss.elastic.co/t/elasticsearch-connection-failure-on-newly-installed-elastic-security-server/333707 "2023-05-18T03:11:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Timothy\_Dilbert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timothy_dilbert/32/117767_2.png) [@Timothy\_Dilbert](https://discuss.elastic.co/u/Timothy_Dilbert)
#### Post date: [May 18, 2023, 3:11am UTC](https://discuss.elastic.co/t/elasticsearch-connection-failure-on-newly-installed-elastic-security-server/333707/1 "2023-05-18T03:11:50Z")

</div>

I recently installed Elastic Security following the belowlinked YouTube video:

[![](https://us1.discourse-cdn.com/elastic/original/3X/6/0/6012e09fe157cc8069ec443c85df9e15896b6c37.jpeg "Setting Up Elastic 8 with Kibana, Fleet, Endpoint Security, and Windows Log Collection") ](https://www.youtube.com/watch?v=Ts-ofIVRMo4)

Under Management \> Fleet it is showing "Fleet Server is not Healthy. A healthy Fleet server is required before you can enroll agents with Fleet.". And, under Agents, it is showing only 1 agent, the Fleet Server which has an unhealthy state under "Endpoint Security" saying:

```auto
The endpoint's connection to Elasticsearch is either down or misconfigured. Make sure it is configured correctly

```

Do you have any recommendations on what I can do to troubleshoot?

---

<div class="post-metadata">

### Author: ![wsouza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wsouza/32/92547_2.png) [@wsouza](https://discuss.elastic.co/u/wsouza)
#### Post date: [May 19, 2023, 10:50pm UTC](https://discuss.elastic.co/t/elasticsearch-connection-failure-on-newly-installed-elastic-security-server/333707/2 "2023-05-19T22:50:55Z")

</div>

Hi @Timothy_Dilbert I recommend taking a look at this project that uses Elastic Security in a container: [The Elastic Container Project for Security Research | Elastic](https://www.elastic.co/pt/security-labs/the-elastic-container-project)

It even comes with the fleet server configured.

---

<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 16, 2023, 10:51pm UTC](https://discuss.elastic.co/t/elasticsearch-connection-failure-on-newly-installed-elastic-security-server/333707/3 "2023-06-16T22:51:20Z")

</div>

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