# Elasticsearch only works on 127.0.0.1?

**URL:** <https://discuss.elastic.co/t/elasticsearch-only-works-on-127-0-0-1/223038>\
**Category:** Elasticsearch\
**Created:** [March 11, 2020, 3:05am UTC](https://discuss.elastic.co/t/elasticsearch-only-works-on-127-0-0-1/223038 "2020-03-11T03:05:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![edvrfn](https://avatars.discourse-cdn.com/v4/letter/e/4bbf92/32.png) [@edvrfn](https://discuss.elastic.co/u/edvrfn)\
**Post date:** [March 11, 2020, 3:05am UTC](https://discuss.elastic.co/t/elasticsearch-only-works-on-127-0-0-1/223038/1 "2020-03-11T03:05:46Z")

</div>

I get error when trying to run start elastic search from interface IP 192.168.1.10. Error i get is

```
Job for elasticsearch.service failed because the control process exited with error code.
See "systemctl status elasticsearch.service" and "journalctl -xe" for details.

```

But it works when i use 127.0.0.1 instead.

---

<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:** [March 11, 2020, 5:43am UTC](https://discuss.elastic.co/t/elasticsearch-only-works-on-127-0-0-1/223038/2 "2020-03-11T05:43:02Z")

</div>

What do the Elasticsearch logs show?

---

<div class="post-metadata">

**Author:** ![rameshkr1994](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rameshkr1994/32/59029_2.png) [@rameshkr1994](https://discuss.elastic.co/u/rameshkr1994)\
**Post date:** [March 11, 2020, 8:13am UTC](https://discuss.elastic.co/t/elasticsearch-only-works-on-127-0-0-1/223038/3 "2020-03-11T08:13:11Z")

</div>

Hi @edvrfn.

May be your problem is similar to below link-  
[access from remote](https://discuss.elastic.co/t/unable-to-access-ec2-elasticsearch7-5-2-server-using-ec2-public-ip-on-local-machine/221854/3)

Thanks  
HadoopHelp

---

<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:** [April 8, 2020, 8:13am UTC](https://discuss.elastic.co/t/elasticsearch-only-works-on-127-0-0-1/223038/4 "2020-04-08T08:13:13Z")

</div>

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