elasticsearch 谷歌云上的Elasticsearch配置,elasticsearch,cloud,google-cloud-platform,elasticsearch,Cloud,Google Cloud Platform" /> elasticsearch 谷歌云上的Elasticsearch配置,elasticsearch,cloud,google-cloud-platform,elasticsearch,Cloud,Google Cloud Platform" />

elasticsearch 谷歌云上的Elasticsearch配置

elasticsearch 谷歌云上的Elasticsearch配置,elasticsearch,cloud,google-cloud-platform,elasticsearch,Cloud,Google Cloud Platform,我已经在谷歌云上安装了弹性搜索。当我尝试连接到它时,会出现以下错误: Elasticsearch ERROR: 2017-04-17T04:27:45Z Error: Request error, retrying HEAD http://localhost:9200/ => connect ECONNREFUSED 127.0.0.1:9200 在/etc/elasticsearch/elasticsearch.ym文件中,我尝试了以下操作,但未成功: network.host

我已经在谷歌云上安装了弹性搜索。当我尝试连接到它时,会出现以下错误:

Elasticsearch ERROR: 2017-04-17T04:27:45Z
  Error: Request error, retrying
  HEAD http://localhost:9200/ => connect ECONNREFUSED 127.0.0.1:9200
/etc/elasticsearch/elasticsearch.ym
文件中,我尝试了以下操作,但未成功:

network.host:  127.0.0.1


如果有人能帮我找出我遗漏了什么,我将不胜感激。

您希望ElasticSearch在哪个界面上收听

您可以使用以下设备快速启动ES并在本地检查侦听套接字:

  • netstat-tlpn
  • ss-tlpn
默认情况下,ES侦听localhost,您可以在此处找到如何管理它:

亲切的问候

#network.host: 192.168.0.1 (default)