报错信息如下:
[10036] 30 Dec 10:23:49.616 # Creating Server TCP listening socket 127.0.0.1:6379: bind: No error
[8660] 30 Dec 10:23:57.132 # Creating Server TCP listening socket *:6379: listen: Unknown error
[6644] 02 Apr 23:11:58.976 # Creating Server TCP listening socket *:6379: bind: No such file or directory
解决方案如下
按顺序输入如下命令就可以连接成功
1. Redis-cli.exe
2. shutdown
3. exit
4. redis-server.exe redis.windows.conf
D:\Program Files\Redis>redis-server.exe redis.windows.conf