# Exiting: couldn't connect to ElasticSearch at

**URL:** <https://discuss.elastic.co/t/exiting-couldnt-connect-to-elasticsearch-at/325234>\
**Category:** Beats\
**Tags:** auditbeat\
**Created:** [February 10, 2023, 9:40am UTC](https://discuss.elastic.co/t/exiting-couldnt-connect-to-elasticsearch-at/325234 "2023-02-10T09:40:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zyaza](https://avatars.discourse-cdn.com/v4/letter/z/13edae/32.png) [@zyaza](https://discuss.elastic.co/u/zyaza)\
**Post date:** [February 10, 2023, 9:40am UTC](https://discuss.elastic.co/t/exiting-couldnt-connect-to-elasticsearch-at/325234/1 "2023-02-10T09:40:51Z")

</div>

`sudo auditbeat -e setup`  
This command ends with  
Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: [error connecting to Elasticsearch at "ip adress of ubunt server:9200: Get "up adress:9200": EOF]

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 14, 2023, 4:12am UTC](https://discuss.elastic.co/t/exiting-couldnt-connect-to-elasticsearch-at/325234/2 "2023-02-14T04:12:12Z")

</div>

It'd be useful if you shared the full output and your Beat config.

---

<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 14, 2023, 4:12am UTC](https://discuss.elastic.co/t/exiting-couldnt-connect-to-elasticsearch-at/325234/3 "2023-03-14T04:12:56Z")

</div>

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