Springboot configured redis to use an error and could not get the resource.

the materials found on the Internet built their own redis, and then built a simple springboot project to link to redis. Because the test machine has a password, there is no permission link to start the error report at the beginning, and the startup does not report an error after adding the password. But redistemplate made a mistake when using it.


redis

redis has basically been configured. Custom or springboot both report the error in figure 1.

Mar.04,2021

redis is not connected. Check host, port and password

.
Menu