Using homebrew to install Redis but when I try to ping Redis it shows this error:
Could not connect to Redis at 127.0.0.1:6379: Connection refused
Had that issue with homebrew MacOS the problem was some sort of permission missing on /usr/local/var/log directory see issue here
homebrew MacOS
/usr/local/var/log
In order to solve it I deleted the /usr/local/var/log and reinstall redis brew reinstall redis
brew reinstall redis