Redis启动报错:Creating Server TCP listening socket 127.0.0.1:6379: bind: No error

一、[9980] 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>shutdown

二、Redis (error) NOAUTH Authentication required.解决方法
127.0.0.1:6379>auth "123456"
127.0.0.1:6379>shutdown
not connected>exit

然后重新运行redis-server.exe redis.windows.conf,启动成功!

Redis启动报错:Creating Server TCP listening socket 127.0.0.1:6379: bind: No error_第1张图片

Redis启动报错:Creating Server TCP listening socket 127.0.0.1:6379: bind: No error_第2张图片 


如果redis还没有启动,则执行启动命令

启动命令:redis-server --service-start

停止命令:redis-server --service-stop

测试:新起一个cmd窗口(注意上面的服务cmd窗口不要关闭了);输入:redis-cli.exe -h 127.0.0.1 -p 6379 链接到本地redis的服务;通过set、get指令测试存取值正常;

Redis启动报错:Creating Server TCP listening socket 127.0.0.1:6379: bind: No error_第3张图片

 

原载:https://blog.csdn.net/sweetgirl520/article/details/79001056#commentBox

 

你可能感兴趣的:(redis,Server,TCP)