Bootstrap

启动Redis服务报错:[10880] 26 Jul 21:11:28.522 # Creating Server TCP listening socket *:6379: bind: No

命令窗口开启redis服务报错:

        [10880] 26 Jul 21:11:28.522 # Creating Server TCP listening socket *:6379: bind: No such file or directory

原因:

端口6379已被绑定,应该是因为上次未关闭服务

解决方法:
        依次输入命令:

D:\Program Files\Redis>redis-cli.exe
127.0.0.1:6379> shutdown
not connected> exit

然后重新启动redis,正常。

D:\Program Files\Redis>redis-server.exe redis.windows.conf

;