Hi
Experience fault during restart/start redis server.
I want disable TCP connections at all, so set in redis.conf (as mentioned - # If port 0 is specified Redis will not listen on a TCP socket.) :
port 0
and after restarting redis got:
Could not connect to Redis at
127.0.0.1:
0: Connection refused
When I comment #port 0 (also #bind 127.0.0.1) - redis server restart and become work.
Instead of using TCP I set unixsocket and app seems work through it (but if I set port 0 - unixsocket also become unreachable due to redis server restart
fail).
In all cases #bind 127.0.0.1 are commented by # (I hope it was disabled 127.0.0.1 all times)
but truth is:
# ss -l4
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 *:6379 *:*
Please help to launch redis server on unixsocket mode only.
OS - centos 6.6 x64
redis # redis-server -v
Redis server v=2.8.19 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=8012391549b7b328
Regards