redis3.2装完后 其它机子访问爆protocol error, got 'n' as reply type byte

服务器上装了reids3.2版本,配置文件中已将bind的选项注释掉,

linux的iptables的redis端口也开放

其它机子的PHP访问redis爆“protocol error, got 'n' as reply type byte ”错误

解决办法:

在redis配置文件redis.conf中注释掉bind配置项的同时把redis3.2新增的配置项

protected-mode由yes改为no,改完后重启redis服务,其它机子就可访问redis服务

原文地址:https://www.cnblogs.com/wenxinphp/p/10005612.html