# How set up to listen on external IP AND localhost?

**URL:** <https://discuss.elastic.co/t/how-set-up-to-listen-on-external-ip-and-localhost/110207>\
**Category:** Elasticsearch\
**Created:** [December 4, 2017, 7:52pm UTC](https://discuss.elastic.co/t/how-set-up-to-listen-on-external-ip-and-localhost/110207 "2017-12-04T19:52:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 4, 2017, 9:25pm UTC](https://discuss.elastic.co/t/how-set-up-to-listen-on-external-ip-and-localhost/110207/2 "2017-12-04T21:25:06Z")

</div>

```auto
network.host: ["_local_", "a.b.c.d"]

```

should work. See [https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-network.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-network.html)

---

_[View the full topic](https://discuss.elastic.co/t/how-set-up-to-listen-on-external-ip-and-localhost/110207)._
