The connection could not be made because the target computer actively refused it. Could not connect to Redis at 127.0.0.1:6379

When the project starts, a redis connection exception is reported

Then check that the redis connection is rejected by the computer

Solution

Open the redis installation folder

First open redis-servce.exe hangs, and then open redis-cli.exe will not pop up the problem of being rejected. And this method does not need to enter commands in cmd every time.

Guess you like

Origin blog.csdn.net/m1195900241/article/details/132205719