Hiredis Unix socket connection error

22 views
Skip to first unread message

Giacomo Antonioli

unread,
May 24, 2018, 10:35:54 AM5/24/18
to Redis DB
I'm trying to start hiredis-test to connect with my server but i'm having issues with the unix server connection. When I run it gives me Connection refused. I have modified redis.conf to set the path /tmp/redis.sock.

hva...@gmail.com

unread,
May 24, 2018, 12:19:07 PM5/24/18
to Redis DB
Is your redis server actually creating the /tmp/redis.sock socket file?  (i.e., after Redis server is running, does the command 'ls -l /tmp/redis.sock' show the file?)
Is redis-cli able to use the socket (via the command-line option '-s /tmp/redis.sock'), while hiredis-test cannot?
Reply all
Reply to author
Forward
0 new messages