FATAL: port 0 is out of range

author image

Hey. Just wanna give you a hint on what to do with error "FATAL: port 0 is out of range" in case you use unix sockets for communicating with your Sphinx / Manticore instance.

Here's an example:

snikolaev@dev:~/dir$ ./searchd -c sphinx.conf
Manticore 2.7.1 458e9c6@180704 dev
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-2018, Manticore Software LTD (http://manticoresearch.com)

using config file 'sphinx.conf'...
FATAL: port 0 is out of range
shutdown complete

If you see this make sure the paths to your unix socket files are absolute in your Sphinx / Manticore config. The idea behind this is that if you say just

listen = searchd.sock

it's:

  1. impossible to distinguish this from not unix socket
  2. may be not secure

Good luck!

Go from zero to Manticore in seconds

Install Manticore Search in one command on Linux or macOS:

curl https://manticoresearch.com | sh

For advanced installation options, see the full installation guide and the manual .