无法访问Kibana仪表板

6

我可以连接Elasticsearch,但是无法访问5601端口上的Kibana。请问有谁能帮忙解决这个问题吗?先感谢了。

在kibana.yml文件中,我已将server.host参数修改为指向我的域名。

  • Elasticsearch版本:7.7.0
  • Kibana版本:kibana-7.7.0-1.x86_64
  • 操作系统:Centos 7
  • JAVA版本:11

kibana.yml

server.port: 5601
server.host: "my_domain"
elasticsearch.hosts: ["http://my_domain:9200"]

Kibana 日志

{"type":"log","@timestamp":"2020-06-02T14:08:03Z","tags":["warning","plugins-discovery"],"pid":2844,"message":"Expect plugin \"id\" in camelCase, but found: apm_oss"}
{"type":"log","@timestamp":"2020-06-02T14:08:03Z","tags":["warning","plugins-discovery"],"pid":2844,"message":"Expect plugin \"id\" in camelCase, but found: file_upload"}
{"type":"log","@timestamp":"2020-06-02T14:08:03Z","tags":["warning","plugins-discovery"],"pid":2844,"message":"Expect plugin \"id\" in camelCase, but found: triggers_actions_ui"}
{"type":"log","@timestamp":"2020-06-02T14:08:09Z","tags":["info","plugins-service"],"pid":2844,"message":"Plugin \"infra\" has been disabled since some of its direct or transitive dependencies are missing or disabled."}
{"type":"log","@timestamp":"2020-06-02T14:08:27Z","tags":["warning","plugins-discovery"],"pid":2941,"message":"Expect plugin \"id\" in camelCase, but found: apm_oss"}
{"type":"log","@timestamp":"2020-06-02T14:08:27Z","tags":["warning","plugins-discovery"],"pid":2941,"message":"Expect plugin \"id\" in camelCase, but found: file_upload"}
{"type":"log","@timestamp":"2020-06-02T14:08:27Z","tags":["warning","plugins-discovery"],"pid":2941,"message":"Expect plugin \"id\" in camelCase, but found: triggers_actions_ui"}
{"type":"log","@timestamp":"2020-06-02T14:08:32Z","tags":["info","plugins-service"],"pid":2941,"message":"Plugin \"infra\" has been disabled since some of its direct or transitive dependencies are missing or disabled."}
{"type":"log","@timestamp":"2020-06-02T14:08:35Z","tags":["fatal","root"],"pid":2941,"message":"{ Error: listen EADDRNOTAVAIL: address not available localhost:5601\n    at Server.setupListenHandle [as _listen2] (net.js:1263:19)\n    at listenInCluster (net.js:1328:12)\n    at doListen (net.js:1461:7)\n    at process._tickCallback (internal/process/next_tick.js:63:19)\n  code: 'EADDRNOTAVAIL',\n  errno: 'EADDRNOTAVAIL',\n  syscall: 'listen',\n  address: 'localhost',\n  port: 5601 }"}
1个回答

1
Kibana默认运行在端口5601上。错误信息表明,当Kibana尝试启动并绑定到端口5601时,由于其他应用程序已经绑定到该端口,因此无法成功执行。

请检查是否有其他应用程序已经绑定到端口5601。如果是,请尝试使用另一个端口。

如果没有,则可以轻松地调查问题,如果您能够附加/etc/hosts文件的内容。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接