Hello. Default setting elastic listen 127.0.0.1:9200. I need that elastic listen all network interfaces - 0 0.0.0.0:9200
If I set network.host: "0.0.0.0" in /etc/elasticsearch/elaticsearch.yml, I have the next error:
Exception
java.lang.IllegalStateException: failed to obtain node locks, tried [[/opt/2tb/elasticsearch/data/elasticsearch]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
How I can set listen 0 0.0.0.0:9200 ?
My elastic version 5.1.1 and I have 1 node
node validation exception
bootstrap checks failed
initial heap size [34359738368] not equal to maximum heap size [68719476736]; this can cause resize pauses and prevents mlockall from locking the entire heap
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.