# 【Macos】elastic agent 8.5.2 and 8.5.3 install unhealthy

**URL:** <https://discuss.elastic.co/t/macos-elastic-agent-8-5-2-and-8-5-3-install-unhealthy/324596>\
**Category:** Elastic Agent\
**Created:** [February 3, 2023, 4:15am UTC](https://discuss.elastic.co/t/macos-elastic-agent-8-5-2-and-8-5-3-install-unhealthy/324596 "2023-02-03T04:15:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xqaiviwjxzw](https://avatars.discourse-cdn.com/v4/letter/x/bbce88/32.png) [@xqaiviwjxzw](https://discuss.elastic.co/u/xqaiviwjxzw)\
**Post date:** [February 3, 2023, 4:15am UTC](https://discuss.elastic.co/t/macos-elastic-agent-8-5-2-and-8-5-3-install-unhealthy/324596/1 "2023-02-03T04:15:23Z")

</div>

hello, I am trying to install elastic agent 8.5.2 and 8.5.3 in macos and I get the following error, what can I do to solve it?

```auto
Status: FAILED
Message: app endpoint-security--8.5.3-03e0f317: failed to start connection credentials listener: listen tcp 127.0.0.1:6788: bind: address already in use
Applications:
  * endpoint-security (FAILED)
                       failed to start connection credentials listener: listen tcp 127.0.0.1:6788: bind: address already in use
  * endpoint-security (DEGRADED)
                       Protecting with policy {7y ***** }

```

---

<div class="post-metadata">

**Author:** ![yak990](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@yak990](https://discuss.elastic.co/u/yak990)\
**Post date:** [February 3, 2023, 5:04pm UTC](https://discuss.elastic.co/t/macos-elastic-agent-8-5-2-and-8-5-3-install-unhealthy/324596/2 "2023-02-03T17:04:40Z")

</div>

Try killing the agent and double checking that nothing else is already listening on that port.  
netstat -tulpn | grep LISTEN

---

<div class="post-metadata">

**Author:** ![xqaiviwjxzw](https://avatars.discourse-cdn.com/v4/letter/x/bbce88/32.png) [@xqaiviwjxzw](https://discuss.elastic.co/u/xqaiviwjxzw)\
**Post date:** [February 6, 2023, 10:02am UTC](https://discuss.elastic.co/t/macos-elastic-agent-8-5-2-and-8-5-3-install-unhealthy/324596/3 "2023-02-06T10:02:11Z")

</div>

thanks,elastic 8.6.1 Solved this problem.

---

<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:** [March 6, 2023, 10:02am UTC](https://discuss.elastic.co/t/macos-elastic-agent-8-5-2-and-8-5-3-install-unhealthy/324596/4 "2023-03-06T10:02:27Z")

</div>

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