【问题标题】:curl: (7) Failed to connect to localhost port 9300: Connexion refuséecurl: (7) 无法连接到 localhost 端口 9300: Connexion refusée
【发布时间】:2021-04-16 12:34:06
【问题描述】:

我正在尝试使用端口 9300 将 nuxeo 连接到 elasticsearch 6,但连接被拒绝。 当我运行curl -XGET 'localhost: 9300' 命令时,

我收到错误消息:

curl: (7) 无法连接到 localhost 端口 9300:连接被拒绝。

你能帮我解决这个问题吗?

【问题讨论】:

  • 你应该使用 9200 端口而不是 9300
  • 我需要端口 9300 来通信 nuxeo 和 ES

标签: elasticsearch port


【解决方案1】:

试试看,elastic 使用 9200 端口作为 API 网关

curl http://localhost:9200

【讨论】:

  • 它适用于 curl http://localhost:9200
猜你喜欢
  • 2017-05-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-10-13
  • 1970-01-01
  • 2017-11-09
  • 1970-01-01
相关资源
最近更新 更多