# Elastic search port 9200 and 9300

**URL:** https://discuss.elastic.co/t/elastic-search-port-9200-and-9300/105203
**Category:** Elasticsearch
**Created:** [October 25, 2017, 8:40am UTC](https://discuss.elastic.co/t/elastic-search-port-9200-and-9300/105203 "2017-10-25T08:40:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Darth\_Vader](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@Darth\_Vader](https://discuss.elastic.co/u/Darth_Vader)
#### Post date: [October 25, 2017, 8:40am UTC](https://discuss.elastic.co/t/elastic-search-port-9200-and-9300/105203/1 "2017-10-25T08:40:06Z")

</div>

![Screenshot (106)](https://us1.discourse-cdn.com/elastic/original/3X/d/6/d6842d746a607b650a51708b3969406e1cab7ce1.png)

In screenshot, it can be seen that there are two different ports for 1)TransportService 2)Netty4HTTPService

What are those things and why two different ports? Which port should I connect Kibana to?

I went through official Elasticsearch reference and Elasticsearch - The Definitive Guide but couldn't get the answer.  
I have just started to learn elasticsearch and I came across this thing which I don't fully understand. Any help would be appreciated.

---

<div class="post-metadata">

### Author: ![Ranjith\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranjith_m/32/19272_2.png) [@Ranjith\_M](https://discuss.elastic.co/u/Ranjith_M)
#### Post date: [October 25, 2017, 9:04am UTC](https://discuss.elastic.co/t/elastic-search-port-9200-and-9300/105203/2 "2017-10-25T09:04:51Z")

</div>

Hello @Darth_Vader ,

You need to connect to 9200, port 9300 is for internal communication.  
9200 is for rest api connectivity where you need to connect kibana.

---

<div class="post-metadata">

### Author: ![Darth\_Vader](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@Darth\_Vader](https://discuss.elastic.co/u/Darth_Vader)
#### Post date: [October 25, 2017, 12:18pm UTC](https://discuss.elastic.co/t/elastic-search-port-9200-and-9300/105203/3 "2017-10-25T12:18:55Z")

</div>

Thanks for the reply @Ranjith_M , but I got as far as that. The confusion is because Kibana can be started when port number is mentioned 9200 and 9300 (both cases) and also rest commands (get and put) are executed in both cases too.

P.S. elasticsearch is started at localhost.

---

<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: [December 4, 2017, 5:07am UTC](https://discuss.elastic.co/t/elastic-search-port-9200-and-9300/105203/5 "2017-12-04T05:07:24Z")

</div>

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