问题 :没有授权
curl: (7) Failed connect to localhost:9200; Connection refused
curl: (7) Failed connect to localhost:9200; Connection refused

解决办法 : 修改elasticsearch.yml下的 network.host值0.0.0.0
表示对所有的ip授权

编辑配置文件
vi /usr/local/elasticsearch-6.2.3/config/elasticsearch.yml
curl: (7) Failed connect to localhost:9200; Connection refused

问题解决 :
测试是否可以正常访问
curl: (7) Failed connect to localhost:9200; Connection refused

相关文章:

  • 2022-01-07
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-12-30
猜你喜欢
  • 2021-05-29
  • 2022-12-23
  • 2021-11-17
  • 2021-08-28
相关资源
相似解决方案