# Unable to connect to Elasticsearch at http://localhost:9200. Help

**URL:** <https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-at-http-localhost-9200-help/92366>\
**Category:** Kibana\
**Created:** [July 8, 2017, 2:06pm UTC](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-at-http-localhost-9200-help/92366 "2017-07-08T14:06:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew431](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@Andrew431](https://discuss.elastic.co/u/Andrew431)\
**Post date:** [July 8, 2017, 2:06pm UTC](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-at-http-localhost-9200-help/92366/1 "2017-07-08T14:06:44Z")

</div>

I'm having some trouble setting up kibana on my home laptop. When I try to run the kibana.bat file I get the following error: HEAD [http://localhost:9200/](http://localhost:9200/) =\> connect ECONNREFUSED 127.0.0.1:9200

Can anyone help?

---

<div class="post-metadata">

**Author:** ![Andrew431](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@Andrew431](https://discuss.elastic.co/u/Andrew431)\
**Post date:** [July 8, 2017, 6:32pm UTC](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-at-http-localhost-9200-help/92366/2 "2017-07-08T18:32:28Z")

</div>

I figured it out. Had to re-install elasticsearch through msi and set it up properly with x-pack

---

<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:** [August 5, 2017, 6:32pm UTC](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-at-http-localhost-9200-help/92366/3 "2017-08-05T18:32:52Z")

</div>

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