Can't connect to Sunspot server in Ubuntu server
Posted
by
Chris Benseler
on Stack Overflow
See other posts from Stack Overflow
or by Chris Benseler
Published on 2011-06-24T23:58:42Z
Indexed on
2011/06/25
0:22 UTC
Read the original article
Hit count: 302
I followed the steps in https://github.com/outoftime/sunspot/wiki/Adding-Sunspot-search-to-Rails-in-5-minutes-or-less to install & set up Sunspot search in Rails in a Mac OS and it is ok. In a Ubuntu server, there's connection refused error. When I run
rake sunspot:solr:start
and the proccess starts. The file sunspot-solr-development.pid is created in /tmp/pids But when I try to reindex
rake sunspot:reindex ... rake aborted! Connection refused - connect(2)
I tried to run the commands with sudo and gave permission 777 to the project files, but there's still error. Rails 3.0.8
Don't know where else to search for a solution...
© Stack Overflow or respective owner