8

我收到此错误:curl: (7) Failed to connect to localhost port 9200: Connection refused when I type curl 'localhost:9200/_cat/indices?v'。我设置了elasticsearch 1.7,之后我编辑了文件elasticsearch.yum:

  • 集群名称:弹性搜索
  • 节点名称:“弹性搜索”
  • network.bind_host:本地主机
  • network.publish_host: 0.0.0.0
  • 网络主机:0.0.0.0

有人能帮我吗?

4

0 回答 0