title: NoNodeAvailableException : None of the configured nodes are available
body: <p>I'm trying to search from Elastic Search within my Java Web Service,
  here's how I use now :</p>
  
  <pre><code>    Client client = new PreBuiltTransportClient(Settings.EMPTY).addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName("192.168.10.150"), 9200));
      SearchResponse searchResponse = client.prepareSearch().execute().actionGet();
  </code></pre>
  
  <p>The 1st line could work without an error, but when it goes to the 2nd line, the exception down below will occur : </p>
  
  <blockquote>
    <p>NoNodeAvailableException[None of the configured nodes are available:
    [{#transport#-1}{TskPSVeBRR6CvCzP9EVhkQ}{192.168.10.150}{192.168.10.150:9200}]]</p>
  </blockquote>
  
  <p>No matter I use <strong>9200</strong> or <strong>9300</strong> to set the <strong>port</strong>, the results are the same.</p>
  
  <p>Also, I've tried to search from my <strong>.Net</strong> program using <strong>NEST</strong>, and it run just fine. Here's how I tried :</p>
  
  <pre><code>    var node = new Uri("http://192.168.10.150:9200");
      var settings = new ConnectionSettings(node).DefaultIndex("iod-2017.03.08.*");
      _EsClient = new ElasticClient(settings);
      var index = String.Format("iod-{0}.{1:00}.{2:00}.*", item.TriggerTime.Year, item.TriggerTime.Month, item.TriggerTime.Day);
      var uniqueId = item.UniqueId.ToString();
      var result = _EsClient.Search&lt;logs&gt;(s =&gt; s.Index(index).Query(q =&gt; q.Match(t =&gt; t.Field(l =&gt; l.id).Query(uniqueId))));
  </code></pre>
  
  <p>Did I do anything(<strong>Firewall</strong>, <strong>version</strong> of library, <strong>method</strong> to call the API, etc) wrong with my Java program? My current <strong>Java</strong> version is <strong>1.8.0.121</strong>, the version of <strong>Elastic Search</strong> and <strong>Transport Client</strong> are both <strong>5.2</strong>. Thanks!</p>