Starting from v2.0 Elasticsearch is listening only on localhost by default, but I\'d like to make request outside localhost.
For example, a request like this is allo
In config/elasticsearch.yml, put network.host: 0.0.0.0 as @arsent said. And also add Inbound Rule in firewall for your ElasticSearch port(9200 ByDefault).
config/elasticsearch.yml
network.host: 0.0.0.0
It worked in ElasticSearch version 2.3.0