# Make clients not listen on network ports

**URL:** <https://discuss.elastic.co/t/make-clients-not-listen-on-network-ports/4368>\
**Category:** Elasticsearch\
**Created:** [May 9, 2011, 12:35am UTC](https://discuss.elastic.co/t/make-clients-not-listen-on-network-ports/4368 "2011-05-09T00:35:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordansissel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jordansissel/32/44957_2.png) [@jordansissel](https://discuss.elastic.co/u/jordansissel)\
**Post date:** [May 9, 2011, 12:35am UTC](https://discuss.elastic.co/t/make-clients-not-listen-on-network-ports/4368/1 "2011-05-09T00:35:06Z")

</div>

Howdy!

So I have an elasticsearch client started roughly like this:

org.elasticsearch.node.NodeBuilder.nodeBuilder.client(true).node

I'm seeing these 'client' elasticsearch nodes set up the http and thrift(?)  
listeners. Is there an easy way to disable this?

-Jordan

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [May 9, 2011, 8:19am UTC](https://discuss.elastic.co/t/make-clients-not-listen-on-network-ports/4368/2 "2011-05-09T08:19:28Z")

</div>

Thrift is started (I guess) because you have the thrift plugin installed. Http start automatically. This is mainly because client nodes can actually act as proxies.

In order to disable it, set `http.enabled` to false, and `thrift.enabled` to false.

-shay.banon  
On Monday, May 9, 2011 at 3:35 AM, Jordan Sissel wrote:

> Howdy!
> 
> So I have an elasticsearch client started roughly like this:
> 
> org.elasticsearch.node.NodeBuilder.nodeBuilder.client(true).node
> 
> I'm seeing these 'client' elasticsearch nodes set up the http and thrift(?) listeners. Is there an easy way to disable this?
> 
> -Jordan

---

<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, 4:06am UTC](https://discuss.elastic.co/t/make-clients-not-listen-on-network-ports/4368/3 "2017-07-06T04:06:40Z")

</div>

Closed on July 6, 2017, 4:06am UTC


