Change service ports for Elasticsearch and Kibana on RedHat

Change service ports for Elasticsearch and Kibana on RedHat

Log in into the ES server using preferred SSH method

Change the server port like in the elasticsearch config file

nano  /etc/elasticsearch/elasticsearch.yml
http.port: 9500


Restart service

systemctl restart elasticsearch

Log in to the ES console using the specified port using the elastic credentials!!

Log in into the Kibana server using preferred SSH method.

Change the server port like in the kibana config file:

nano /etc/kibana/kibana.yml
server.port: 5601


Restart service:

systemctl restart kibana

Log in to the kibana console using the specified port using the elastic credentials!!