I've been struggling with starting redis on my system and all i get is connection refused ! I tried : config/database , switch between 127.0.0.1 and localhost and .... So what can i do to make it work ? Notice : i'm using laradock and other packages are working just fine
Instead of using localhost or 127.0.0.1, you must use the ((redis)) in .env Laravel.
According to the above code:
REDIS_HOST=redis
REDIS_PASSWORD=YOUR_PASSWORD
REDIS_PORT=6379