# Bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks

**URL:** <https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263>\
**Category:** Elasticsearch\
**Created:** [February 16, 2017, 2:27am UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263 "2017-02-16T02:27:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yzx2](https://avatars.discourse-cdn.com/v4/letter/y/7ab992/32.png) [@yzx2](https://discuss.elastic.co/u/yzx2)\
**Post date:** [February 16, 2017, 2:27am UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263/1 "2017-02-16T02:27:22Z")

</div>

[2017-02-15T12:35:42,788][INFO][o.e.t.TransportService] [PMxuOyw] publish\_address {192.168.63.140:9300}, bound\_addresses {192.168.63.140:9300}  
[2017-02-15T12:35:42,795][INFO][o.e.b.BootstrapChecks] [PMxuOyw] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks  
ERROR: bootstrap checks failed

I get the error,when I set "network.host: 0.0.0.0 ".but by default 127.0.0.1 is ok.

---

<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:** [February 16, 2017, 2:29am UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263/2 "2017-02-16T02:29:34Z")

</div>

Check out [https://www.elastic.co/guide/en/elasticsearch/reference/5.2/bootstrap-checks.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/bootstrap-checks.html)

---

<div class="post-metadata">

**Author:** ![yzx2](https://avatars.discourse-cdn.com/v4/letter/y/7ab992/32.png) [@yzx2](https://discuss.elastic.co/u/yzx2)\
**Post date:** [February 16, 2017, 2:43am UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263/3 "2017-02-16T02:43:01Z")

</div>

Thanks,  
I have solved when i read the doc.

---

<div class="post-metadata">

**Author:** ![Neuron\_Ring](https://avatars.discourse-cdn.com/v4/letter/n/6a8cbe/32.png) [@Neuron\_Ring](https://discuss.elastic.co/u/Neuron_Ring)\
**Post date:** [March 1, 2017, 5:49pm UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263/4 "2017-03-01T17:49:12Z")

</div>

@yzx2 May i know what did you change to fix the problem ?

---

<div class="post-metadata">

**Author:** ![yzx2](https://avatars.discourse-cdn.com/v4/letter/y/7ab992/32.png) [@yzx2](https://discuss.elastic.co/u/yzx2)\
**Post date:** [March 2, 2017, 1:35am UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263/5 "2017-03-02T01:35:53Z")

</div>

## By default, Elasticsearch binds to localhost for HTTP and transport (internal) communication. This is fine for downloading and playing with Elasticsearch, and everyday development but it’s useless for production systems. To form a cluster, Elasticsearch instances must be reachable via transport communication so they must bind transport to an external interface. Thus, we consider an Elasticsearch instance to be in development mode if it does not bind transport to an external interface (the default), and is otherwise in production mode if it does bind transport to an external interface. Note that HTTP can be configured independently of transport via http.host and transport.host; this can be useful for configuring a single instance to be reachable via HTTP for testing purposes without triggering production mode.

Above is in the doc.

I add "network.host: 127.0.0.1" and "http.host: 0.0.0.0" into the configuration file.

---

<div class="post-metadata">

**Author:** ![agrawalsaurabh](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@agrawalsaurabh](https://discuss.elastic.co/u/agrawalsaurabh)\
**Post date:** [March 10, 2017, 10:32am UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263/6 "2017-03-10T10:32:56Z")

</div>

> [@yzx2](#):
>
> network.host: 127.0.0.1" and "http.host: 0.0.0.0

The fix you have done is to bind to loopback ip which is localhost.

However, if you want to access ES with an IP like 10.129.120.12 then with above settings you can't. Let me know if you were able to access [http://your-id:9200](http://your-id:9200) from browser.

Saurabh

---

<div class="post-metadata">

**Author:** ![yzx2](https://avatars.discourse-cdn.com/v4/letter/y/7ab992/32.png) [@yzx2](https://discuss.elastic.co/u/yzx2)\
**Post date:** [March 13, 2017, 8:56am UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263/7 "2017-03-13T08:56:12Z")

</div>

I can access ES with an IP from browser.

---

<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 10, 2017, 8:56am UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address-enforcing-bootstrap-checks/75263/8 "2017-04-10T08:56:17Z")

</div>

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