I am learning to using ElasticSearch on Windows recently.
I followed the instructions as this page said and got stuck at Checking that Elasticsearch is running
.
I had downloaded the latest curl binary executable (7.54.0) for windows, but when I copied the following line using the button COPY AS CURL
:
curl -XGET 'localhost:9200/?pretty'
It gave the error:
curl: (6) Could not resolve host: 'localhost
I had tried the solution here to disable IPV6 but the problem still remains.