Sphinx search: Connection to 127.0.0.1 on 9312 failed. Connection refused - connect(2)

ruby-on-rails, sphinx

Solution

So, problem was with searchd deamon. I just pkill old process and restart with

RAILS_ENV=production rake ts:restart

Problem

I try to use Sphinx in my Rails app in production mode but without any success. Every time, when I tried run my search action I get an error: Connection to 127.0.0.1 on 9312 failed. Connection refused - connect(2) I also tried to change port from 9312 to 9845, but it's not changed( Does anybody have ideas how resolve this issue?

Original source