# Getting "Network is unreachable" while running elasticsearch from windows

**URL:** <https://discuss.elastic.co/t/getting-network-is-unreachable-while-running-elasticsearch-from-windows/16886>\
**Category:** Elasticsearch\
**Created:** [April 9, 2014, 6:51am UTC](https://discuss.elastic.co/t/getting-network-is-unreachable-while-running-elasticsearch-from-windows/16886 "2014-04-09T06:51:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bagui](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bagui/32/960_2.png) [@bagui](https://discuss.elastic.co/u/bagui)\
**Post date:** [April 9, 2014, 6:51am UTC](https://discuss.elastic.co/t/getting-network-is-unreachable-while-running-elasticsearch-from-windows/16886/1 "2014-04-09T06:51:55Z")

</div>

Hi,

I'm running elasticsearch through windows using command prompt. The same  
started as below.

## D:\elasticsearch\elasticsearch-1.0.1\bin\>elasticsearch [2014-04-08 13:39:00,199][WARN][bootstrap] jvm uses the client vm, make sure to run `java` with the ser ver vm for best performance by adding `-server` to the command line [2014-04-08 13:39:00,379][INFO][node] [node-master] version[1.0.1], pid[11568], build[5c03844/2014 -02-25T15:52:53Z] [2014-04-08 13:39:00,379][INFO][node] [node-master] initializing ... [2014-04-08 13:39:00,411][INFO][plugins] [node-master] loaded [], sites [] [2014-04-08 13:39:06,237][INFO][node] [node-master] initialized [2014-04-08 13:39:06,237][INFO][node] [node-master] starting ... [2014-04-08 13:39:06,651][INFO][transport] [node-master] bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, p ublish\_address {inet[/10.204.226.15:9300]} [2014-04-08 13:39:10,084][INFO][cluster.service] [node-master] new\_master [node-master][DvA9zQxzR\_6pSY6ESeaFc w][BGHWV2188][inet[/10.204.226.15:9300]], reason: zen-disco-join (elected\_as\_master) [2014-04-08 13:39:10,131][INFO][discovery] [node-master] elasticsearch/DvA9zQxzR\_6pSY6ESeaFcw [2014-04-08 13:39:10,382][INFO][http] [node-master] bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, p ublish\_address {inet[/10.204.226.15:9200]} [2014-04-08 13:39:11,471][INFO][gateway] [node-master] recovered [4] indices into cluster\_state [2014-04-08 13:39:11,473][INFO][node] [node-master] started

The elasticsearch cluster is working fine but if I left the cmd  
window inactive for long time I'm getting the below exception for network  
connection. Whereas the REST client is working fine and I'm able to do GET  
, POST on existing index. Can someone let me know why this is happening.

* * *

[2014-04-08 15:37:59,401][WARN][monitor.jvm] [node-master]  
[gc][young][7123][4] duration [3.8s], collect  
ons [1]/[4.1s], total [3.8s]/[4s], memory [95.6mb]-\>[29.8mb]/[998.4mb],  
all\_pools {[young] [68.3mb]-\>[4.1mb]/[204.8mb]}  
[survivor] [8.5mb]-\>[4.5mb]/[25.5mb]}{[old] [18.8mb]-\>[21.2mb]/[768mb]}  
[2014-04-08 22:21:34,779][WARN][monitor.jvm] [node-master]  
[gc][young][10162][5] duration [2.1s], collec  
ions [1]/[2.3s], total [2.1s]/[6.1s], memory [94mb]-\>[26.7mb]/[998.4mb],  
all\_pools {[young] [68.3mb]-\>[3.1mb]/[204.8mb]  
{[survivor] [4.5mb]-\>[2.3mb]/[25.5mb]}{[old] [21.2mb]-\>[21.2mb]/[768mb]}  
[2014-04-09 11:27:27,628][WARN][transport.netty] [node-master]  
exception caught on transport layer [[id: 0xc  
3ad957, 0.0.0.0/0.0.0.0:63427]], closing connection  
java.net.SocketException: Network is unreachable: no further information  
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)  
at  
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)  
at  
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)

--  
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/925dc2a8-b79a-4e40-8985-cbfc06992d9d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/925dc2a8-b79a-4e40-8985-cbfc06992d9d%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:37am UTC](https://discuss.elastic.co/t/getting-network-is-unreachable-while-running-elasticsearch-from-windows/16886/2 "2017-07-06T01:37:25Z")

</div>


