Error: brew services start redis not working

What's Causing This Error

If you encounter the 'brew services start redis not working' error while starting Redis as a service on macOS via Homebrew, it could be due to outdated or improperly installed Redis versions, conflicting system settings, incorrect configuration settings, or some other application already using the Redis port.

Solution - Here's How To Resolve It

To fix this issue, first update and reinstall Redis using Homebrew by executing the following commands:

brew uninstall redis
brew install redis

If the problem persists, verify whether an application is using Redis port 6379 with the command below:

lsof -i :6379

If another program is already utilizing the same port, stop it or modify the Redis configuration to use another port. Additionally, instead of relying on Homebrew, try restarting Redis using the following command:

redis-server /usr/local/etc/redis.conf

By performing these steps, you can resolve the 'brew services start redis not working' error and run Redis as a service on macOS.

Was this content helpful?

Start building today

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.