【问题标题】:Unable to access Kibana on AWS EC2 instance using url无法使用 url 访问 AWS EC2 实例上的 Kibana
【发布时间】:2022-06-10 19:26:21
【问题描述】:

我在 EC2 实例上安装了 elasticseasrch 和 Kibana,我可以使用此 URL http://public-ip/9200 访问 elasticsearch。但我无法使用 http://public-ip/5601 访问 Kibana。

我已配置kibana.yml 并添加了某些字段。

server.port: 5601
server.host: 0.0.0.0
elasticsearch.url: 0.0.0.0:9200

在做wget http://localhost:5601 时,我得到了以下输出:

--2022-06-10 11:23:37--  http://localhost:5601/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:5601... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83731 (82K) [text/html]
 Saving to: ‘index.html’

有人让我知道我做错了什么。任何帮助将不胜感激。

【问题讨论】:

  • 你是否在安全组中打开了端口5601
  • 是的,我打开了 56019200 端口,可以从任何地方访问 TCP 协议。
  • 您是否遇到超时或其他问题?
  • 一般是ip:port,如果有帮助可以试试“public-ip:5601
  • 既然你已经提到各自的端​​口是开放的,也许你可以在EC2机器上执行下面的命令来确保Kibana服务是否运行良好wget http://localhost:5601

标签: amazon-web-services elasticsearch amazon-ec2 kibana elk


猜你喜欢
  • 2018-04-22
  • 1970-01-01
  • 1970-01-01
  • 2020-02-02
  • 2017-11-07
  • 2021-02-20
  • 2021-12-06
  • 1970-01-01
  • 2020-07-19
相关资源
最近更新 更多