0

我从 ElasticSearch 和 Sense for Chrome(在 Windows 7 下)开始,我无法启动简单的 POST 请求(来自https://www.elastic.co/guide/en/elasticsearch/reference/current/_exploring_your_data。 html ). 我得到一个基本的Request failed to get to the server (status code: 0):

localhost:9200/bank/account/_bulk?pretty' --data-binary "@accounts.json"

我的 Sense 截图

account.json文件在我的elasticsearch/bin目录中。

问题很简单:我的(语法?)错误在哪里?

4

1 回答 1

0

您没有运行 elasticsearch 的实例,无法到达 localhost:9200 的服务器,这表明了这一点。

于 2016-12-03T22:08:09.500 回答