Error connecting to redis on localhost:6379 (Redis::TimeoutError)

You need to open two CMD windows, one of which is redis- server.exe After that, do not close it, reopen a CMD window and execute redis- cli.exe -h 127.0.0.1 -p 6379 。 You can succeed. The reason for the error is that you shut down the execution of redis- server.exe Command’s CMD window

Read More: