首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在LAN上无法访问Kibana 5.x

问在LAN上无法访问Kibana 5.x
EN

Stack Overflow用户
提问于 2017-02-11 05:49:07
回答 1查看 346关注 0票数 0

我有一个Centos 7 Virtualbox虚拟机,我在其中安装了Elasticsearch 5.x和Kibana 5.x。一切正常,两个服务都成功启动。如果我在VM上执行curl http://192.168.1.192:5601,一切正常,但如果我尝试从主机访问Kibana Web界面,这是无法访问的。

VM的网络接口设置为桥接到主机wlan0,主机和vm连接到同一路由器: host ip:192.168.1.190,vm ip:192.168.1.192

在我的kibana.yml中,我有:

代码语言:javascript
复制
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"

# Enables you to specify a path to mount Kibana at if you are running behind a proxy. This only affects
# the URLs generated by Kibana, your proxy is expected to remove the basePath value before forwarding requests
# to Kibana. This setting cannot end in a slash.
#server.basePath: ""

# The maximum payload size in bytes for incoming server requests.
#server.maxPayloadBytes: 1048576

# The Kibana server's name.  This is used for display purposes.
server.name: "elkmaster1"

# The URL of the Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://localhost:9200"

Selinux被禁用,firewalld被禁用,并且我没有在该虚拟机上安装任何防火墙软件。此外,我还可以从主机ssh到vm

我做错了什么?

EN

回答 1

Stack Overflow用户

发布于 2017-02-11 06:27:15

如果您的CentOs上有防火墙,则必须打开kibana端口(5601)。

要查看您的防火墙状态,请使用:

代码语言:javascript
复制
sudo systemctl status firewalld.service
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42169232

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档