title: NoNodesAvailableException with message 'No alive nodes found in your cluster' - Laravel 5.2 and Heroku Searchbox Add on
body: <p>I have downloaded Elasticsearch into my local, I've successfully run the elasticsearch on local host. I'm currently using elasticquent on Laravel 5.2 and when I tried to switch from local host ('localhost:9200') and add an index, it prompted an error below. </p>
  
  <pre><code>Psy Shell v0.7.2 (PHP 5.5.12 ΓÇö cli) by Justin Hileman
  &gt;&gt;&gt; App\Products::createIndex($shards = null, $replicas = null);
  Elasticsearch\Common\Exceptions\NoNodesAvailableException with message 'No alive
   nodes found in your cluster'
  </code></pre>
  
  <p>When i'm using the localhost, it's running fine and was able to create an index right away.</p>
  
  <p>this is my config file (config\elasticquent.php)</p>
  
  <pre><code>&lt;?php
  
  return array(
  
      /*
      |--------------------------------------------------------------------------
      | Custom Elasticsearch Client Configuration
      |--------------------------------------------------------------------------
      |
      | This array will be passed to the Elasticsearch client.
      | See configuration options here:
      |
      | http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/_configuration.html
      */
  
      'config' =&gt; [
          //'hosts'     =&gt; ['http://xxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@dori-xx-xxx-1.searchly.com:9300'],
          'hosts'     =&gt; ['localhost:9200'],
  
          'retries'   =&gt; 1,
      ],
  
      /*
      |--------------------------------------------------------------------------
      | Default Index Name
      |--------------------------------------------------------------------------
      |
      | This is the index name that Elasticquent will use for all
      | Elasticquent models.
      */
  
      'default_index' =&gt; 'bossing_default_index',
  
  );
  </code></pre>
  
  <p>I'm wondering if it has something to do with the cluster name, but can't find any document how to change the cluster name using the elasticquent.php config file. please help. thank you in advance.</p>
  
  <p>My searhbox host is running fine.</p>
  
  <p>and btw, this is the link to elasticquent: <a href="https://github.com/elasticquent/Elasticquent" rel="nofollow">https://github.com/elasticquent/Elasticquent</a>
  I'm currently using elasticsearch 2.3.xx</p>