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:
- (20200916 Solved)Docker||redis-cli Could not connect to Redis at 127.0.0.1:6379: Connection refused
- Centos7 offline installation of redis and PHP extension redis
- Redis: How to Configurate Redis.conf File
- [Solved] Redis Error: org.springframework.data.redis.RedisConnectionFailureExceptionjava.net.SocketTimeoutException
- No such file or directory error when redis is started under Windows
- Solution to redis error in CentOS of idea connected virtual machine
- Redis cannot load windows.conf
- MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk.
- Connection error:Cannot connect to redis-server. Details are available in connection log.
- ERR Slot 3300 is already busy (Redis::CommandError)
- Termux installing redis
- Redis cli create creates an error when creating a cluster
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to
- JWT and token + redis scheme of spring security
- Fatal error in PHP project: class’ redis’ not found
- Redis: (error) MOVED 8352 192.168.145.128:6380 [How to Solve]
- The local program cannot access the test environment redis cluster through public IP_ compromise
- Stackexchange.redis data timeout [How to Solve]
- Windows redis startup error reported: Creating Server TCP listening socket 127.0.0.1:6379: bind: No error