I just installed elasticsearch and kibana on an ubuntu server hosted on AWS. I configured the kibana.yml file with the server.host as the ip for the server (ie. 12.345.678.901) and also configured the elasticsearch.yml file as such under the Network section.
transport.host: localhost
transport.tcp.port: 9300
http.port: 9200
network.host: 0.0.0.0
For ufw rules: I have allowed: 5601, 22, 9200, 5601 (v6), 22 (v6)
They are allowed from anywhere except 9200 which is allowed from the ip of the ubuntu machine.
I still can't connect to kibana using xx.xxx.xxx.xxx:5601
I also made sure the 5601 and 9300 ports are open on AWS
What am I doing wrong?