# Remote Elasticsearch/Kibana connection

**URL:** https://discuss.elastic.co/t/remote-elasticsearch-kibana-connection/235226
**Category:** Elasticsearch
**Created:** [June 1, 2020, 8:32pm UTC](https://discuss.elastic.co/t/remote-elasticsearch-kibana-connection/235226 "2020-06-01T20:32:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jshi](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@jshi](https://discuss.elastic.co/u/jshi)
#### Post date: [June 1, 2020, 8:32pm UTC](https://discuss.elastic.co/t/remote-elasticsearch-kibana-connection/235226/1 "2020-06-01T20:32:56Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 29, 2020, 8:32pm UTC](https://discuss.elastic.co/t/remote-elasticsearch-kibana-connection/235226/2 "2020-06-29T20:32:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
