# Leveraging ES in AWS Gov Cloud - Question

**URL:** <https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135>\
**Category:** Elasticsearch\
**Created:** [June 17, 2019, 6:25pm UTC](https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135 "2019-06-17T18:25:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RLLINTONii](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@RLLINTONii](https://discuss.elastic.co/u/RLLINTONii)\
**Post date:** [June 17, 2019, 6:25pm UTC](https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135/1 "2019-06-17T18:25:18Z")

</div>

ES has to be able to listen on both ports 9200 and 9300.

Does anyone know why AWS doesn’t allow ES to listen in port **9300**?

Any Advice appreciated.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 17, 2019, 8:14pm UTC](https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135/2 "2019-06-17T20:14:45Z")

</div>

I don't know why but anyway you should not use that port.

---

<div class="post-metadata">

**Author:** ![RLLINTONii](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@RLLINTONii](https://discuss.elastic.co/u/RLLINTONii)\
**Post date:** [June 17, 2019, 8:17pm UTC](https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135/3 "2019-06-17T20:17:46Z")

</div>

Thanks David,

if anyone knows why we should not use port 9300 , that would be great.

cheers,  
Robert

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 17, 2019, 8:42pm UTC](https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135/4 "2019-06-17T20:42:51Z")

</div>

The question is more why would you use it for?  
Knowing that the TransportClient is removed in 8.0.

---

<div class="post-metadata">

**Author:** ![RLLINTONii](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@RLLINTONii](https://discuss.elastic.co/u/RLLINTONii)\
**Post date:** [June 18, 2019, 3:40pm UTC](https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135/5 "2019-06-18T15:40:23Z")

</div>

Hi David, I am asking because one of our solutions running in AWS , looks to use that port, out of the box.  
We can manually adjust it,  
was just curious about using that port ( 9300 )

I am new to ES, so are you saying that in the next release of ES, that port will not be used at all for ES?

thanks in advance.  
cheers,  
Robert

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 18, 2019, 4:09pm UTC](https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135/6 "2019-06-18T16:09:16Z")

</div>

It is still used for node to node communication. As a client the only port to use is 9200.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 18, 2019, 6:11pm UTC](https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135/7 "2019-06-18T18:11:39Z")

</div>

Are you talking about AWS ES service on GovCloud? If so I do not believe they expose port 9300, which is needed by the transport protocol. As David suggested you would therefore even need to host it yourself or switch to using a HTTP based client.

---

<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:** [July 16, 2019, 6:11pm UTC](https://discuss.elastic.co/t/leveraging-es-in-aws-gov-cloud-question/186135/8 "2019-07-16T18:11:39Z")

</div>

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