windows下安装redis第一次启动报错:
[2368] 21 Apr 02:57:05.611 # Creating Server TCP listening socket 127.0.0.1:6379: bind: No error
解决方法:在命令行中运行
redis-cli.exe
//如果设置了密码,则此处需要先输入认证即密码:
127.0.0.1:6379>auth yourpassword
127.0.0.1:6379>shutdown
not connected>exit
然后重新运行redis-server.exe redis.windows.conf 【–maxmemory 200M】,启动成功!