Elasticsearch NoNodeAvailableException None of the configured nodes are available
<pre><code>Settings settings = Settings.settingsBuilder()
                .put("cluster.name", "logging_elasticsearch")
                .build();
        TransportClient client = TransportClient.builder()
                .settings(settings)
                .build()
                .addTransportAddress(new InetSocketTransportAddress(InetAddress.getByAddress(new byte[]{10,100,30,62}), 9300));

  SearchResponse response = client.prepareSearch("logstash-2016.09.08")
            .setTypes("type1", "type2")
            .setSearchType(SearchType.DFS_QUERY_THEN_FETCH)
            .setQuery(QueryBuilders.termQuery("multi", "test"))                 // Query
            .setPostFilter(QueryBuilders.rangeQuery("age").from(12).to(18))     // Filter
            .setFrom(0).setSize(60).setExplain(true)
            .execute()
            .actionGet();
</code></pre>

<p><a href="https://i.stack.imgur.com/FWzBc.png" rel="nofollow noreferrer">elasticsearch.yml</a>
I'm getting a <code>NoNodeAvailableException</code> when executing my search query.</p>

<p>I tried this solution:
<a href="https://stackoverflow.com/a/33875764/2616923">https://stackoverflow.com/a/33875764/2616923</a> 
 but it did not work. </p>