# Need help : Rails app unable to connect to Solr server Opti

**URL:** <https://www.ruby-forum.com/t/need-help-rails-app-unable-to-connect-to-solr-server-opti/156328>\
**Category:** Rails\
**Created:** [December 24, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/need-help-rails-app-unable-to-connect-to-solr-server-opti/156328 "2008-12-24T16:50:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![manisha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/6f9a4e/32.png) [@manisha](https://www.ruby-forum.com/u/manisha)\
**Post date:** [December 24, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/need-help-rails-app-unable-to-connect-to-solr-server-opti/156328/1 "2008-12-24T16:50:10Z")

</div>

Hi,

I am trying to integrate solr in ruby on rails application.For that i  
am using the plugin acts\_as\_solr and gem solr-ruby. My solr server  
starts successfully with command

$ rake solr:start

But when I try to add data from $ script/console , it says that it  
cannot connect to solr server at the corresponding port.Same is the  
result if i try the browser to link to [http://localhost:8982/solr](http://localhost:8982/solr)

The error is

RuntimeError: Couldn’t connect to the Solr server at  
[http://localhost:8982/solr](http://localhost:8982/solr).  
404 “Not Found”

Can anyone please help me in this. :((
