当前位置: 代码迷 >> 综合 >> redis连接时报错:# Creating Server TCP listening socket 127.0.0.1:6379: bind: Address already in use
  详细解决方案

redis连接时报错:# Creating Server TCP listening socket 127.0.0.1:6379: bind: Address already in use

热度:69   发布时间:2023-12-17 23:56:14.0

redis开启连接报错:bind: Address already in use
在这里插入图片描述

解决方法:在linux终端命令行中运行:

redis-cli

127.0.0.1:6379> shutdown
not connected> exit
再次输入:

redis-server /usr/redis/redis.conf

解决!

  相关解决方案