windows redis 连接错误Creating Server TCP listening socket 127.0.0.1:637 9: bind: No error

报错信息如下:

[10036] 30 Dec 10:23:49.616 # Creating Server TCP listening socket 127.0.0.1:637

9: bind: No error
[8660] 30 Dec 10:23:57.132 # Creating Server TCP listening socket *:6379: listen

: Unknown error

 

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

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
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 3.2.100 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 9764
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'

              `-.__.-'

  

posted @ 2021-04-08 14:46  岁月淡忘了谁  阅读(236)  评论(0编辑  收藏  举报