I tried to install Elasticsearch and run it.
When I type curl -X GET http://localhost:9200
or curl -X GET 192.1.0.0:9200
, I get this error:
Failed to connect to localhost port 9200: Connection refused
How may I fix this?
I searched Stack Overflow for this issue, but none of the solutions worked for me, including this one: Elasticsearch: Failed to connect to localhost port 9200 - Connection refused
I also found this article, tried to follow it, but failed, because every time I type this in my cmd:
bin/plugin --install mobz/elasticsearch-head
bin/plugin --install lukas-vlcek/bigdesk
cmd will tell me:
plugin is not recognized as internal or external command
How do I fix this one?