无法访问 kibana 仪表板

bri*_*isk 6 elasticsearch kibana elasticsearch-x-pack

我能够连接elasticsearch。但是,我无法在 5601 上访问 kibana。有人可以帮忙解决这个问题吗?提前致谢。

在 kibana.yml 文件中,我修改了 server.host 参数以指向我的域。

  • 弹性搜索版本: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"]
Run Code Online (Sandbox Code Playgroud)

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 }"}
Run Code Online (Sandbox Code Playgroud)

Ami*_*mar 1

Kibana默认在端口5601上运行。此错误消息表明,当 Kibana 尝试启动并绑定到端口 5601 时,它无法启动,因为其他东西已经绑定到端口 5601。

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

如果否,那么如果您可以附加 /etc/hosts 文件的内容,那么调查问题会很容易。