我开始使用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"
account.json
文件位于我的elasticsearch/bin
目录中。
问题很简单:我的(语法?)错误在哪里?
答案 0 :(得分:0)
您没有运行弹性搜索的实例无法访问localhost的服务器:9200表示。