# How to isolate elastic search node from other nodes?

**URL:** <https://discuss.elastic.co/t/how-to-isolate-elastic-search-node-from-other-nodes/7627>\
**Category:** Elasticsearch\
**Created:** [May 10, 2012, 8:55am UTC](https://discuss.elastic.co/t/how-to-isolate-elastic-search-node-from-other-nodes/7627 "2012-05-10T08:55:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michal\_Domagala](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Michal\_Domagala](https://discuss.elastic.co/u/Michal_Domagala)\
**Post date:** [May 10, 2012, 8:55am UTC](https://discuss.elastic.co/t/how-to-isolate-elastic-search-node-from-other-nodes/7627/1 "2012-05-10T08:55:15Z")

</div>

Hello,

I have some integration test of my application. The integration test starts own elastic search instance by  
**node = nodeBuilder().settings(settings).local(true).node();**  
and do its job.

However, I have other, running elastic search instance on my computer. I observed that runnich elastic search instance and integration test instance establish a connection (because I see IO exception in running ES log when integration test is terminated)

My question is: how to configure ES for integration test to make sure it is isolated against any other working ES in my computer/LAN?

I tried settings   
**.put("multicast.enabled","false")  
.put("discovery.zen.ping.multicast.ping.enabled", "false")**

but without success

best regards  
Michal Domagala

---

<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, 3:29am UTC](https://discuss.elastic.co/t/how-to-isolate-elastic-search-node-from-other-nodes/7627/2 "2017-07-06T03:29:29Z")

</div>


