Categories
Linux Security

How to Change Wazuh Default Web Interface Port

While I was setting up Wazuh, I needed to change the default web interface port that the software ran on so I could set up a reverse proxy. To do this, I edited the following configuration file.

nano /etc/kibana/kibana.yml

And changed the following setting from

server.host: 0.0.0.0
elasticsearch.hosts: https://127.0.0.1:9200
server.port: 443
...

To this

server.host: 0.0.0.0
elasticsearch.hosts: https://127.0.0.1:9200
server.port: 8443
...

And now port 443 is open for my reverse proxy to use and Wazuh is now running on port 8443.

By Marc Woodyard

System Admin by day, developer by night. Web dev somewhere in between.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.