# Elasticsearch java interaction

**URL:** <https://discuss.elastic.co/t/elasticsearch-java-interaction/16375>\
**Category:** Elasticsearch\
**Created:** [March 14, 2014, 12:47pm UTC](https://discuss.elastic.co/t/elasticsearch-java-interaction/16375 "2014-03-14T12:47:02Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![brian\_yoder](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@brian\_yoder](https://discuss.elastic.co/u/brian_yoder)\
**Post date:** [March 24, 2014, 8:20pm UTC](https://discuss.elastic.co/t/elasticsearch-java-interaction/16375/26 "2014-03-24T20:20:32Z")

</div>

The HTTP interface is bound to port 9200. The TransportClient's server side  
is bound to port 9300.

That is the reason.

Brian

> Q)Actually why i am putting port 9200?
> 
> Ans: my elasticsearch url index is with port 9200,so i am trying to put  
> 9200 in the place of 9300,but you initiated me to 9300.
> 
> is there any reason for 9300?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/dbdc9021-b2a6-45c6-99d9-1cdbeb68b575%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/dbdc9021-b2a6-45c6-99d9-1cdbeb68b575%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:41am UTC](https://discuss.elastic.co/t/elasticsearch-java-interaction/16375/27 "2017-07-06T01:41:00Z")

</div>



[Previous page](https://discuss.elastic.co/t/elasticsearch-java-interaction/16375.md?page=1)
