# \[URGENT\] Local Tranport Client - ElasticSearch 1.7

**URL:** <https://discuss.elastic.co/t/urgent-local-tranport-client-elasticsearch-1-7/104161>\
**Category:** Elasticsearch\
**Created:** [October 17, 2017, 2:38am UTC](https://discuss.elastic.co/t/urgent-local-tranport-client-elasticsearch-1-7/104161 "2017-10-17T02:38:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![patelprakashp](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@patelprakashp](https://discuss.elastic.co/u/patelprakashp)\
**Post date:** [October 17, 2017, 2:38am UTC](https://discuss.elastic.co/t/urgent-local-tranport-client-elasticsearch-1-7/104161/1 "2017-10-17T02:38:08Z")

</div>

## [URGENT] - ES 1.7 testing with local transport client

I am trying to create local transport client using Scala 2.9.1 and ElasticSearch 1.7 for testing , getting error

_org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available:_

* * *

`val settings = ImmutableSettings.settingsBuilder().put("node.local",true).put("client.transport.sniff", false) .put("cluster.name", "test-cluster").build();`

`val transportClient = new TransportClient(settings);`

`transportClient.addTransportAddress(new LocalTransportAddress("1")) return transportClient;`

* * *

This is working fine with Node client however i would like to use transport client for testing. Any help???

---

<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:** [November 14, 2017, 2:45am UTC](https://discuss.elastic.co/t/urgent-local-tranport-client-elasticsearch-1-7/104161/2 "2017-11-14T02:45:29Z")

</div>

Closed on November 14, 2017, 2:45am UTC

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