2

I have sphinx setup to run in config files on port 3312. I can use the indexer, and create the index. I can search.

I can't run searchd to return queries. I tried telnet 127.0.0.1 3312. My connection is refused.

Whats my next step? I am not very good with Iptables.

Wesley
  • 33,060

2 Answers2

2

You should start searchd first, something like /usr/local/bin/searchd (you should use actual path to searchd, try locate searchd to get it)

Okay, it looks like you have two listen directives in your config:

listen = {port}
listen = {sql_host}:{sql_port}:mysql41

and the second one is obviously not right

Alex
  • 8,089
0

It may be because the port is already hold by some else daemon. If the '127.0.0.1:3306' is failed - it is nothing surprising, since 3306 is the port for mysqld. You can try the 9312 (sphinx api) and 9306 (sphinxql) as official IANA assigned ports for sphinx.

Alexey
  • 26