问题:
Windows系统载入redis时,输入以下指令
d:\redis>redis-server.exe redis.windows.conf
报错如下:
[11340] 03 Jul 09:30:52.283 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
[11340] 03 Jul 09:30:52.283 # Redis version=5.0.9, bits=64, commit=9414ab9b, modified=0, pid=11340, just started
[11340] 03 Jul 09:30:52.283 # Configuration loaded
[11340] 03 Jul 09:30:52.283 # Could not create server TCP listening socket 127.0.0.1:6379: bind: 操作成功完成。
原因:
解决方法:
依次执行第一条指令:redis-cli.exe,
第二条指令:shutdown
第三条指令:exit
再输入redis-server.exe redis.windows.conf
来源:
原文地址