That makes sense now! However, I have added listen = 9380:http
to our /etc/sphinx/sphinx.conf settings (under the searchd section), and restarted the service, but when querying, I get:
[root@g000003 sphinx]# curl -X POST ‘http://it-sphinx-server:9380/search’ -d ‘index=idx_productdata&match=@item_description drill&select=item_code,part_no,brand_name&limit=5’
curl: (7) Failed connect to it-sphinx-server:9380; Connection refused
If I run netstat -tulnp, port 9380 doesn’t show as open:
Despite the config change and service restart, it doesn’t look like Manticore is listening for the HTTP connection on port 9380. Is it a separate service? Or have I put the config option under the wrong section?
for listen = 9380:http it listen local address you have to use listen = 0.0.0.0.:9380:http to accept inet clients or provide another valid inet address