I have an openstack server running on linux, where i have installed Elasticsearch 5.2.2. I am able to start elasticsearch locally and while inside server, curl localhost:9200 returns response that elasticsearch is up and running. But while trying to access server-ip:9200 from web browser, it is unable to connect.
This is my elasticsearch.yml file
# ======== Elasticsearch Configuration ======
# ---------------- Cluster ---------------
cluster.name: test
# ---------------------- Node -------------
node.name: node-1
# ------------------- Network -------------
# Set the bind address to a specific IP (IPv4 or IPv6):
network.host: 0.0.0.0
# Set a custom port for HTTP:
http.port: 9200
transport.tcp.port: 9300-9400