FATAL: port 0 is out of range

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 (
Copyright (c) 2017-2018, Manticore Software LTD (

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


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

Good luck!

Install Manticore Search

Install Manticore Search