Kibana4 to listen on Port 80 instead of Port 5601

淺唱寂寞╮ 提交于 2019-12-06 07:00:55

Edit file {kibana-directory}/config/kibana.yml. Find this line:

port: 5601

and change it to:

port: 80

Full settings here: https://www.elastic.co/guide/en/kibana/current/settings.html

This should be added to config/kibana.yml server.port: 80

And run kibana server with sudo. Make sure no process is using port 80 at the same time.

Setting the port 80 in config file will trigger the following error kibana[11777]: FATAL Error: listen EACCES: permission denied 0.0.0.0:80 due to the fact that kibana service by default executes under the user kibana

You can change the user to root, but this will trigger the following warning kibana[11639]: Kibana should not be run as root. Use --allow-root to continue.

So running kibana service under root user is something not recommended. Better make a port forwarding rule, or a HTTP redirect if you have a web server.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!