【发布时间】:2017-06-20 23:09:06
【问题描述】:
我用 ubuntu 的镜像创建了一个容器。
没关系,我可以很好地使用。
所以,我在这个 ubuntu 的 docker 中安装了 kibana 服务。
当我在路径 bin 上执行 kibana 时,运行正确并说正在侦听:localhost:5601
这意味着 kibana 配置正确,但是当我在浏览器上从 docker 访问时,它不起作用。
我已经在正确的路径中配置了 kibana.yml 文件中的网络。
我可以看到在 docker(cmd) 上运行的服务。
我最初的 kibana.yml 文件:
# Kibana is served by a back end server. This setting specifies the port to use.
#server.port: 5601
# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
# server.host: "0.0.0.0"
【问题讨论】: