# CAN'T CONNECT TO 127.0.0.1:9200

**URL:** <https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627>\
**Category:** Elasticsearch\
**Created:** [September 30, 2019, 11:52am UTC](https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627 "2019-09-30T11:52:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shodipo\_Samuel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shodipo_samuel/32/47746_2.png) [@Shodipo\_Samuel](https://discuss.elastic.co/u/Shodipo_Samuel)\
**Post date:** [September 30, 2019, 11:52am UTC](https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627/1 "2019-09-30T11:52:20Z")

</div>

Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,460 main ERROR Null object returned for RollingFile in Appenders.  
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,461 main ERROR Unable to locate appender "rolling" for logger config "root"  
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,461 main ERROR Unable to locate appender "index\_indexing\_slowlog\_rolling" for logger config "index.indexing.slowlog.index  
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,462 main ERROR Unable to locate appender "audit\_rolling" for logger config "org.elasticsearch.xpack.security.audit.logfil  
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,463 main ERROR Unable to locate appender "index\_search\_slowlog\_rolling" for logger config "index.search.slowlog"  
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,463 main ERROR Unable to locate appender "deprecated\_audit\_rolling" for logger config "org.elasticsearch.xpack.security.a  
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,464 main ERROR Unable to locate appender "deprecation\_rolling" for logger config "org.elasticsearch.deprecation"  
Sep 30 12:49:00 elasticsearch systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE  
Sep 30 12:49:00 elasticsearch systemd[1]: elasticsearch.service: Unit entered failed state.  
Sep 30 12:49:00 elasticsearch systemd[1]: elasticsearch.service: Failed with result 'exit-code'.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [September 30, 2019, 12:18pm UTC](https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627/2 "2019-09-30T12:18:11Z")

</div>

can you please provide some more information? How did you install Elasticsearch? Which version did you install? On which operating system? Did you change any configuration or any setup to not reflect the standard setup of the distribution package that you installed?

---

<div class="post-metadata">

**Author:** ![Shodipo\_Samuel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shodipo_samuel/32/47746_2.png) [@Shodipo\_Samuel](https://discuss.elastic.co/u/Shodipo_Samuel)\
**Post date:** [October 2, 2019, 11:39am UTC](https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627/3 "2019-10-02T11:39:49Z")

</div>

Dear Spinacle,

Sorry for the late reply.

I installed it with this link [https://www.elastic.co/guide/en/elasticsearch/reference/6.2/deb.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/deb.html)

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 2, 2019, 12:33pm UTC](https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627/4 "2019-10-02T12:33:26Z")

</div>

can you test with a more recent version than 6.2, i.e. the latest 6.8 release? Also make sure you purge the package, so that no previous configuration files are leftover, when installing the new one.

---

<div class="post-metadata">

**Author:** ![Shodipo\_Samuel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shodipo_samuel/32/47746_2.png) [@Shodipo\_Samuel](https://discuss.elastic.co/u/Shodipo_Samuel)\
**Post date:** [October 2, 2019, 12:59pm UTC](https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627/5 "2019-10-02T12:59:45Z")

</div>

Dear Spinacle,

Please can you share a link of a stable one.

Thank you.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 7, 2019, 12:30pm UTC](https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627/6 "2019-10-07T12:30:43Z")

</div>

See [https://www.elastic.co/downloads/elasticsearch](https://www.elastic.co/downloads/elasticsearch)

Thanks!

---

<div class="post-metadata">

**Author:** ![NewmazN24](https://avatars.discourse-cdn.com/v4/letter/n/b77776/32.png) [@NewmazN24](https://discuss.elastic.co/u/NewmazN24)\
**Post date:** [October 7, 2019, 2:58pm UTC](https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627/7 "2019-10-07T14:58:21Z")

</div>

Have you played with directory/file ownership ? It looks like your elasticsearch is unable to read files because you have changed something he needed to access. I had this error and the easiest path to success was to restart from scratch.

---

<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:** [November 4, 2019, 2:58pm UTC](https://discuss.elastic.co/t/cant-connect-to-127-0-0-1-9200/201627/8 "2019-11-04T14:58:21Z")

</div>

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