服务器上装了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服务

相关文章:

  • 2021-08-19
  • 2021-07-21
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-09-14
  • 2021-07-11
猜你喜欢
  • 2022-12-23
  • 2021-05-31
  • 2021-11-08
  • 2021-12-16
  • 2021-09-30
  • 2021-12-26
  • 2021-05-17
相关资源
相似解决方案