Network.host or http.host - documentation problem?

Yun. You didn't say how you solved the problem. Can you elaborate.

Yun.. how you solved your problem.. can you please share your yml config file

This worked for me for a single node on my local network :

in elasticsearch.yml
http.port: 9201
#http.bind_host: 192.168.1.172 #works
http.publish_host: 192.168.1.172 #by itself does not work
http.host: 192.168.1.172 #works alone

in /etc/hosts
192.168.1.172 mytestnode

I have the same problem:眨眼:

OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
[2017-12-06T15:03:49,641][INFO ][o.e.n.Node ] [] initializing ...
[2017-12-06T15:03:49,789][INFO ][o.e.e.NodeEnvironment ] [Cb-ctv8] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [25.9gb], net total_space [39.2gb], spins? [unknown], types [rootfs]
[2017-12-06T15:03:49,789][INFO ][o.e.e.NodeEnvironment ] [Cb-ctv8] heap size [241.7mb], compressed ordinary object pointers [true]
[2017-12-06T15:03:49,791][INFO ][o.e.n.Node ] node name [Cb-ctv8] derived from node ID [Cb-ctv8sSWSpi2c7SbVHmg]; set [node.name] to override
[2017-12-06T15:03:49,794][INFO ][o.e.n.Node ] version[5.1.1], pid[1914], build[5395e21/2016-12-06T12:36:15.409Z], OS[Linux/3.10.0-693.5.2.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_151/25.151-b12]
[2017-12-06T15:03:52,429][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [aggs-matrix-stats]
[2017-12-06T15:03:52,429][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [ingest-common]
[2017-12-06T15:03:52,429][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [lang-expression]
[2017-12-06T15:03:52,429][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [lang-groovy]
[2017-12-06T15:03:52,429][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [lang-mustache]
[2017-12-06T15:03:52,430][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [lang-painless]
[2017-12-06T15:03:52,430][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [percolator]
[2017-12-06T15:03:52,436][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [reindex]
[2017-12-06T15:03:52,436][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [transport-netty3]
[2017-12-06T15:03:52,436][INFO ][o.e.p.PluginsService ] [Cb-ctv8] loaded module [transport-netty4]
[2017-12-06T15:03:52,437][INFO ][o.e.p.PluginsService ] [Cb-ctv8] no plugins loaded
[2017-12-06T15:03:56,783][INFO ][o.e.n.Node ] initialized
[2017-12-06T15:03:56,783][INFO ][o.e.n.Node ] [Cb-ctv8] starting ...
[2017-12-06T15:03:57,200][INFO ][o.e.t.TransportService ] [Cb-ctv8] publish_address {172.17.0.1:9300}, bound_addresses {0.0.0.0:9300}
[2017-12-06T15:03:57,224][INFO ][o.e.b.BootstrapCheck ] [Cb-ctv8] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: bootstrap checks failed
initial heap size [16777216] not equal to maximum heap size [262144000]; this can cause resize pauses and prevents mlockall from locking the entire heap
[2017-12-06T15:03:57,272][INFO ][o.e.n.Node ] [Cb-ctv8] stopping ...
[2017-12-06T15:03:57,330][INFO ][o.e.n.Node ] [Cb-ctv8] stopped
[2017-12-06T15:03:57,330][INFO ][o.e.n.Node ] [Cb-ctv8] closing ...
[2017-12-06T15:03:57,357][INFO ][o.e.n.Node ] [Cb-ctv8] closed

已解决 ,yml 语法错误——前有空格
-Xms200m
-Xmx200m

Thank you, this is exactly what I needed in order to get Elasticsearch working throughout an AWS Instance (very limited, the free one t2.micro). Now, with this configuration I was able to access the ElasticSearch via an Elastic IP.

thanks solved my issued

Yes that works for me too

thank you