虛擬機上裝了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服務
虛擬機上裝了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服務