redis遇到傻叉了的问题
NO1
现象:有进程,登录提示没有连接
[root@localhost bin]# /usr/local/redis3/bin/redis-cli
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>
解决:可能1 daemonize yes #没有设置yes 后台运行
我的问题2: bind 对应的是机器的Ip,没有设置 127.0.0.1 本地的ip,连接没有 -h 指定机器ip 所以虽有进程,但提示不能连接

浙公网安备 33010602011771号