I have set "network.host" to 0.0.0.0 in my elasticsearch.yml file. I can curl elasticsearch in localhost, but not from other computer(my personal machine)
kindly help me to connect to elasticsearch sever from outside the network.
I can connect to my Digitalocean droplet via SSH. I have also successfully installed Elasticsearch on the droplet. I can curl Elasticsearch on the droplet localhost, but when I try to curl the droplet from my local machine (from outside the droplet), it throws me a curl error. I need a way to curl my Elasticsearch server from outside the network.
Check your ES node initialization logs for publish_address and bound_address to verify that your configuration is really applied. If your publish_address is not a loopback address, your configuration should be ok and host security is blocking the connection from outside.
It seems like publish_address is not a loopback address, and problem is with host security.
Please find the Nmap results for the server below.
Starting Nmap 6.40 ( http://nmap.org ) at 2018-07-27 15:00 IST
Nmap scan report for 159.65.145.59
Host is up (0.0000080s latency).
Not shown: 991 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
443/tcp open https
9200/tcp open wap-wsp
Nmap done: 1 IP address (1 host up) scanned in 2.46 seconds
If you need any other information please let me know.
I would be very helpful if you can provide me with a solution or a link to some tutorial which shows how to access elasticsearch from out side network
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.