# NoNodeAvailableException\[None of the configured nodes are available: \[{#transport#-1}{-1B4rVOaSTeiXbjYjpWnCQ}{127.0.0.1}{127.0.0.1:9300}\]\]

**URL:** <https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-1b4rvoasteixbjyjpwncq-127-0-0-1-127-0-0-1-9300/157159>\
**Category:** Elasticsearch\
**Created:** [November 17, 2018, 6:37am UTC](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-1b4rvoasteixbjyjpwncq-127-0-0-1-127-0-0-1-9300/157159 "2018-11-17T06:37:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuldeep\_Poonia](https://avatars.discourse-cdn.com/v4/letter/k/779978/32.png) [@Kuldeep\_Poonia](https://discuss.elastic.co/u/Kuldeep_Poonia)\
**Post date:** [November 17, 2018, 6:37am UTC](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-1b4rvoasteixbjyjpwncq-127-0-0-1-127-0-0-1-9300/157159/1 "2018-11-17T06:37:08Z")

</div>

Hi All,

From last 2 days, I am searching over google to find out the solution and do the same as suggested by replies but still I am unable to find out the solution. I am using elasticsearach version 6.4.2 in both server and in java application. Here is my code:

Settings settings = Settings.builder()  
.put("cluster.name", "elasticsearch")  
.build();

TransportClient client = new PreBuiltTransportClient(settings)  
.addTransportAddress(new TransportAddress(InetAddress.getByName("localhost"), 9300));  
UpdateByQueryRequestBuilder updateByQuery = UpdateByQueryAction.INSTANCE.newRequestBuilder(client);  
updateByQuery.source(obj.toString())  
.filter(QueryBuilders.termQuery("city", "testing"))  
.size(1000);  
BulkByScrollResponse response = updateByQuery.get();  
System.out.println(response);

here is my elasticsearch.yml configurations:

cluster.name: elasticsearch  
xpack.security.transport.filter.allow: localhost  
xpack.security.enabled: false  
xpack.security.transport.ssl.enabled: false  
xpack.security.http.ssl.enabled: false

here is my server log  
[2018-11-17T11:38:44,835][INFO][o.e.n.Node] [btLu9pT] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=C:\Users\KULDEE~1.POO\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs\_err\_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Delasticsearch, -Des.path.home=D:\elasticsearch\elasticsearch-6.4.2\elasticsearch-6.4.2, -Des.path.conf=D:\elasticsearch\elasticsearch-6.4.2\elasticsearch-6.4.2\config, -Des.distribution.flavor=default, -Des.distribution.type=zip]  
[2018-11-17T11:38:47,353][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [aggs-matrix-stats]  
[2018-11-17T11:38:47,353][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [analysis-common]  
[2018-11-17T11:38:47,353][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [ingest-common]  
[2018-11-17T11:38:47,353][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [lang-expression]  
[2018-11-17T11:38:47,353][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [lang-mustache]  
[2018-11-17T11:38:47,353][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [lang-painless]  
[2018-11-17T11:38:47,353][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [mapper-extras]  
[2018-11-17T11:38:47,353][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [parent-join]  
[2018-11-17T11:38:47,353][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [percolator]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [rank-eval]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [reindex]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [repository-url]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [transport-netty4]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [tribe]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-core]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-deprecation]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-graph]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-logstash]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-ml]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-monitoring]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-rollup]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-security]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-sql]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-upgrade]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] loaded module [x-pack-watcher]  
[2018-11-17T11:38:47,369][INFO][o.e.p.PluginsService] [btLu9pT] no plugins loaded  
[2018-11-17T11:38:53,295][INFO][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/9688] [Main.cc@109] controller (64 bit): Version 6.4.2 (Build 660eefe6f2ea55) Copyright (c) 2018 Elasticsearch BV  
[2018-11-17T11:38:54,387][INFO][o.e.d.DiscoveryModule] [btLu9pT] using discovery type [zen]  
[2018-11-17T11:38:55,281][INFO][o.e.n.Node] [btLu9pT] initialized  
[2018-11-17T11:38:55,281][INFO][o.e.n.Node] [btLu9pT] starting ...  
[2018-11-17T11:38:56,891][INFO][o.e.t.TransportService] [btLu9pT] publish\_address {127.0.0.1:9300}, bound\_addresses {127.0.0.1:9300}, {[::1]:9300}  
[2018-11-17T11:38:59,999][INFO][o.e.c.s.MasterService] [btLu9pT] zen-disco-elected-as-master ([0] nodes joined)[,], reason: new\_master {btLu9pT}{btLu9pToRKW3NDqnQrJyDw}{NbpRPkUDTj2a5uJI85jaxg}{127.0.0.1}{127.0.0.1:9300}{ml.machine\_memory=8491282432, xpack.installed=true, ml.max\_open\_jobs=20, ml.enabled=true}  
[2018-11-17T11:39:00,014][INFO][o.e.c.s.ClusterApplierService] [btLu9pT] new\_master {btLu9pT}{btLu9pToRKW3NDqnQrJyDw}{NbpRPkUDTj2a5uJI85jaxg}{127.0.0.1}{127.0.0.1:9300}{ml.machine\_memory=8491282432, xpack.installed=true, ml.max\_open\_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {btLu9pT}{btLu9pToRKW3NDqnQrJyDw}{NbpRPkUDTj2a5uJI85jaxg}{127.0.0.1}{127.0.0.1:9300}{ml.machine\_memory=8491282432, xpack.installed=true, ml.max\_open\_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)[,]]])  
[2018-11-17T11:39:01,169][INFO][o.e.l.LicenseService] [btLu9pT] license [fc378113-ff03-46fe-a056-d99373eab66a] mode [basic] - valid  
[2018-11-17T11:39:01,357][INFO][o.e.g.GatewayService] [btLu9pT] recovered [3] indices into cluster\_state  
[2018-11-17T11:39:01,946][INFO][o.e.h.n.Netty4HttpServerTransport] [btLu9pT] publish\_address {127.0.0.1:9200}, bound\_addresses {127.0.0.1:9200}, {[::1]:9200}  
[2018-11-17T11:39:01,946][INFO][o.e.n.Node] [btLu9pT] started  
[2018-11-17T11:39:04,500][INFO][o.e.c.r.a.AllocationService] [btLu9pT] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[index][0]] ...]).

Can any one suggest me where I am making any mistake?

---

<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:** [December 15, 2018, 6:37am UTC](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-1b4rvoasteixbjyjpwncq-127-0-0-1-127-0-0-1-9300/157159/2 "2018-12-15T06:37:08Z")

</div>

Closed on December 15, 2018, 6:37am UTC

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