creating server tcp listening socket 127.0.0.1:6379: bind No error

window下启动redis服务报错:
creating server tcp listening socket 127.0.0.1:6379: bind No error

解决方案如下按顺序输入如下命令即可连接成功

  1. redis-cli.exe
  2. shutdown
  3. exit
  4. 运行:redis-server.exe redis.windows.conf

shutdown出现以下错误,请exit退出

creating server tcp listening socket 127.0.0.1:6379: bind No error_第1张图片

执行:D:\dev\Redis-3.2.100>redis-cli.exe -h 127.0.0.1 -p 6379 -a 123456,其中123456为redis的密码;

成功之后如下:

creating server tcp listening socket 127.0.0.1:6379: bind No error_第2张图片

你可能感兴趣的:(Redis,java,redis,学习)