Can Not Connect To Redis

- 1 answer

I have Redis, Laravel and Nodejs in my server. Both laravel and Nodejs are not able to connect to Redis as Redis requires AUTH for connection even when i am specifying it. In the REDIS config file I have these two fields which have some values.

requirepass aaaaaa
masterauth aaaaaa

Could you please point out what i am doing wrong ?



You can comment out requirepass if you want to skip auth procedure.

Redis has some security vulnerabilities in its initial setup. You can disable remote access as a starter. bind

There are some security best practices that you must follow in order to run redis in a secure environment.

Read this blog post and official redis security documentation here.