My problem must have been discussed on million times but I am unable to bind my Elasticsearch server from another computer on the same network.
Server IP adress is 10.80.93.112, and I try to access using http://10.80.93.112:9200 from my web browser installed on my laptop.
However when I run curl http://localhost:9200 or curl http://127.0.0.1:9200 from local system it seems to work normally.
Is ES listening on all interfaces? It should do that by default (so you should be fine) but it can be disabled in elasticsearch.yml. Is there a firewall that's blocking the access?
I don't understand why publish_address and bound_addresses params are set with 127.0.0.1, and not 10.80.93.112 as said in documentation.
To be completly transparent I'm trying to upgrade my server from elasticsearch 1.7 to elasticsearch 2 RC, and my old system was running well until this morning.
To do this I uninstalled 1.7 version using aptitude --purge elasticsearch, removed the /var/opt/elasticsearch directory that stayed here, and reinstall version 2 from freshly downdloaded .deb package (dpkg --install elasticsearch). I edited /etc/default/elasticsearch script and change memory value (2g to 4g).
To complete the environment description a proxy has been installed at first time of installation, with the goal to access to Kibana on port 5301.
Note that this operation has been done successfully on a testing environment but in a virtual machine (so I did't test access from distant machine on this environment).
Thank you for the link.
I tried to modify elasticsearch.yml and add both ip address (10.80.93.112) and loopback address (127.0.0.1) but without success. Maybe the syntax I used is wrong, this point is not very well documented. Any idea about the right synthax?
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.