title: Ruby on Rails - Solr/Sunspot: Connection refused - connect(2)
body: <p>Pretty much I'm trying to deploy a Rails application that uses Sunspot. I've followed  <a href="https://github.com/outoftime/sunspot/wiki/Configure-Solr-on-Ubuntu,-the-quickest-way" rel="nofollow">https://github.com/outoftime/sunspot/wiki/Configure-Solr-on-Ubuntu,-the-quickest-way</a>, but when running the application I get the following:</p>
  
  <blockquote>
    <p>Connection refused - connect(2)</p>
  </blockquote>
  
  <p>This indicates that it can't access the server properly, and I've been googling and trying things for hours, but to no avail.</p>
  
  <p>Any ideas?</p>