# How to config network.host in elasticsearch.yml?

**URL:** <https://discuss.elastic.co/t/how-to-config-network-host-in-elasticsearch-yml/67733>\
**Category:** Elasticsearch\
**Created:** [December 1, 2016, 8:41am UTC](https://discuss.elastic.co/t/how-to-config-network-host-in-elasticsearch-yml/67733 "2016-12-01T08:41:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lvctao](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@lvctao](https://discuss.elastic.co/u/lvctao)\
**Post date:** [December 1, 2016, 8:41am UTC](https://discuss.elastic.co/t/how-to-config-network-host-in-elasticsearch-yml/67733/1 "2016-12-01T08:41:52Z")

</div>

elasticsearch version: 5.0.2  
java version: jdk-8u111

issue: I install my elasticsearch on the server and I want to visit it from localhost. How can I config the network.host. I get some solutions from website, config network.host 0.0.0.0, but it did not work and appeared new problems：“bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks  
ERROR: bootstrap checks failed”.  
Anybody who can give me some help. Thank you.

`[2016-12-01T15:57:35,487][INFO][o.e.n.Node] [] initializing ... [2016-12-01T15:57:35,593][INFO][o.e.e.NodeEnvironment] [Jo5noSh] using [1] data paths, mounts [[/ (/dev/sda4)]], net usable_space [943.8gb], net total_space [1.7tb], spins? [possibly], types [ext4] [2016-12-01T15:57:35,593][INFO][o.e.e.NodeEnvironment] [Jo5noSh] heap size [1.9gb], compressed ordinary object pointers [true] [2016-12-01T15:57:35,594][INFO][o.e.n.Node] [Jo5noSh] node name [Jo5noSh] derived from node ID; set [node.name] to override [2016-12-01T15:57:35,596][INFO][o.e.n.Node] [Jo5noSh] version[5.0.2], pid[14370], build[f6b4951/2016-11-24T10:07:18.101Z], OS[Linux/4.4.0-28-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_111/25.111-b14] [2016-12-01T15:57:36,114][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [aggs-matrix-stats] [2016-12-01T15:57:36,114][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [ingest-common] [2016-12-01T15:57:36,114][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [lang-expression] [2016-12-01T15:57:36,114][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [lang-groovy] [2016-12-01T15:57:36,114][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [lang-mustache] [2016-12-01T15:57:36,114][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [lang-painless] [2016-12-01T15:57:36,114][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [percolator] [2016-12-01T15:57:36,115][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [reindex] [2016-12-01T15:57:36,115][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [transport-netty3] [2016-12-01T15:57:36,115][INFO][o.e.p.PluginsService] [Jo5noSh] loaded module [transport-netty4] [2016-12-01T15:57:36,115][INFO][o.e.p.PluginsService] [Jo5noSh] no plugins loaded [2016-12-01T15:57:37,265][INFO][o.e.n.Node] [Jo5noSh] initialized [2016-12-01T15:57:37,265][INFO][o.e.n.Node] [Jo5noSh] starting ... [2016-12-01T15:57:37,375][INFO][o.e.t.TransportService] [Jo5noSh] publish_address {192.168.0.155:9300}, bound_addresses {[::]:9300} [2016-12-01T15:57:37,385][INFO][o.e.b.BootstrapCheck] [Jo5noSh] **bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks ERROR: bootstrap checks failed** max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] [2016-12-01T15:57:37,388][INFO][o.e.n.Node] [Jo5noSh] stopping ... [2016-12-01T15:57:37,395][INFO][o.e.n.Node] [Jo5noSh] stopped [2016-12-01T15:57:37,395][INFO][o.e.n.Node] [Jo5noSh] closing ... [2016-12-01T15:57:37,400][INFO][o.e.n.Node] [Jo5noSh] closed`

---

<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 1, 2016, 9:07am UTC](https://discuss.elastic.co/t/how-to-config-network-host-in-elasticsearch-yml/67733/2 "2016-12-01T09:07:58Z")

</div>

I told you on the GitHub issue to read the doc about bootstrap checks. Did you read it?

---

<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:** [December 29, 2016, 9:08am UTC](https://discuss.elastic.co/t/how-to-config-network-host-in-elasticsearch-yml/67733/3 "2016-12-29T09:08:07Z")

</div>

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