title: What is the default address of Solr Server (Solr 4.0) for use from a SolrJ client
body: <p>I'm trying to connect with Solr Server from a SolrJ client, but it gives an HTTPResponse Exception.</p>
  
  <p>Here's my code:</p>
  
  <pre class="lang-java prettyprint-override"><code>SolrServer server = new HttpSolrServer("http://"localhost":8983/solr/");
  </code></pre>
  
  <p>Here's the exception:</p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError: org/apache/http/NoHttpResponseException:</p>
  </blockquote>
  
  <p>Does Solr have a default address? Where can you find it?</p>