# Error 503 filebeat can not connect to elasticsearch

**URL:** <https://discuss.elastic.co/t/error-503-filebeat-can-not-connect-to-elasticsearch/325375>\
**Category:** Elasticsearch\
**Created:** [February 13, 2023, 10:56am UTC](https://discuss.elastic.co/t/error-503-filebeat-can-not-connect-to-elasticsearch/325375 "2023-02-13T10:56:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jomaguca](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jomaguca/32/117583_2.png) [@jomaguca](https://discuss.elastic.co/u/jomaguca)\
**Post date:** [February 13, 2023, 10:56am UTC](https://discuss.elastic.co/t/error-503-filebeat-can-not-connect-to-elasticsearch/325375/1 "2023-02-13T10:56:18Z")

</div>

Hi everyone

I have up my ELK server working, and I put a filebeat in another machine with filebeat installed but filebeat can not send inputs to elasticsearch, the error says "Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: [error connecting to Elasticsearch at [http://192.168.194.142:9200](http://192.168.194.142:9200): 503 Service Unavailable: "  
All is in a virtual box environment, I made ping between machines and all works so... I had problem with ssl configuration but I put all in http, could it be the problem?

What a fu... Have a nice day, not mine.

---

<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 13, 2023, 10:56am UTC](https://discuss.elastic.co/t/error-503-filebeat-can-not-connect-to-elasticsearch/325375/2 "2023-03-13T10:56:46Z")

</div>

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