我已经按照本指南安装了 Elasticsearch、Logstash、Kibana 和 Nginx,
Elasticsearch 在 9200 上运行
但是正在运行
curl http://localhost:5601
返回这个:
curl: (7) Failed to connect to localhost port 5601: Connection refused
在我配置的kibana.yml
文件中
server.port: 5601
server.host: "127.0.0.1"
这里我还检查了localhost
和aws private ip address
。
同时检查运行这个的端口:
netstat -anp | grep 5601
我得到:
(No info could be read for "-p": geteuid()=1000 but you should be root.)
我可以启动 kibana 运行:
sudo service kibana start
但是在检查状态时使用:
sudo service kibana status
我得到:
kibana is not running
我还没有设置防火墙和运行
sudo ufw status
返回:
Status : Inactive
我很困惑,为什么 kibana 端口没有监听?
最佳答案
您可以检查 Kibana 日志,了解它根本没有启动的原因。您可能会发现 kibana 之类的东西无法在给定的 url 连接 elasticsearch。
关于elasticsearch - 无法在端口 5601 上加载 Kibana,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35455816/