Redis is unable to connect and access remotely [How to Solve]

Open the/etc/redis.conf configuration file

1. Comment out the bind corresponding to the local connection, as shown in the figure:

2. Turn off the default guard of redis, that is, change protected mode yes to protected mode no, as shown in the following figure:

3. Restart redis service

Similar Posts: