Can't Connect to Elasticsearch (through Curl)

后端 未结 4 1984
温柔的废话
温柔的废话 2021-02-20 17:03

I\'ve recently installed Elasticsearch and everything was working well for the first few days, but somehow today it stopped working

When I start the service, it claims t

4条回答
  •  眼角桃花
    2021-02-20 17:15

    curl -GET http://127.0.0.1:9200 is the wrong command.

    Try curl -XGET http://127.0.0.1:9200. It should return the short info about your running local node and status 200. If that doesn't work then something else must be wrong.

提交回复
热议问题