title: SOLR '0' Status: Communication Error
body: <p>I am using SOLR for indexing documents.I create index from a mysql database. I create index from PHP which runs on wamp server. I am using SOLR PHP client to create index. When I create index from the server on which SOLR is deployed, everything works fine. But when I try to create index from a different machine, I get the following error:</p>
  
  <p><strong>'0' Status: Communication Error</strong></p>
  
  <p>I tried changing php socket time out, solr commitlocktimeout and solr writelocktimeout. But still I get the same error. When I create index from the solr server itslef, there is no error.</p>
  
  <p>PHP version : 5.2.2
  SOLR version : 1.4.1</p>
  
  <p>Any idea on why this happens? </p>
  
  <p>Thank you</p>
  
  <p>Following is my stack trace:  </p>
  
  <pre><code>'0' Status: Communication Error#0 C:\wamp\www\nist\application\library\SolrPhpClient\Apache\Solr\Service.php(672): Apache_Solr_Service-&gt;_sendRawPost('http://129.107....', '&lt;add allowDups=...')
  #1 C:\wamp\www\nist\application\library\SolrPhpClient\Apache\Solr\Service.php(736): Apache_Solr_Service-&gt;add('&lt;add allowDups=...')
  #2 C:\wamp\www\nist\application\library\Nist\Console\NistSolrIndex.php(106): Apache_Solr_Service-&gt;addDocuments(Array)
  #3 C:\wamp\www\nist\application\library\Nist\Console\CrawlUNT.php(346): Nist_Console_NistSolrIndex-&gt;createIndex()
  #4 C:\wamp\www\nist\application\library\Nist\Console\CrawlUNT.php(89): Nist_Console_CrawlUNT-&gt;CrawlParseAndIndexProfiles()
  #5 C:\wamp\www\nist\application\Bootstrap.php(107): Nist_Console_CrawlUNT-&gt;run(Object(Zend_Console_Getopt))
  #6 C:\wamp\www\nist\application\Bootstrap.php(78): Bootstrap-&gt;_runConsoleApp()
  #7 C:\wamp\www\dkumar\mentis-libs\Zend\Application.php(366): Bootstrap-&gt;run()
  #8 C:\wamp\www\nist\index.php(37): Zend_Application-&gt;run()
  </code></pre>