问题描述
无法将 Kibana 连接到 caprover 上的 ElasticSearch
Kibana 的错误日志:
unable to revive connection
no living connections
解决方法
问题是由于无法访问 ES 端口 9200
。
所以在 CapRover 上转到您的 ES 应用程序;然后点击App Configs
标签和Add Port Mapping
:9200
9200
在 Kibana 的 App Configs
上确保 ELASTICSEARCH_HOSTS
:http://srv-captain--<YOUR-ES-APP-ID>:9200