解决redis connection refused: connect
redis.conf配置文件中 注释 bind 127.0.0.1
设置端口号, 开放
/sbin/iptables -I INPUT -p tcp --dport 6379 -j ACCEPT
protected-mode yes 改为 no
解决redis connection refused: connect
redis.conf配置文件中 注释 bind 127.0.0.1
设置端口号, 开放
/sbin/iptables -I INPUT -p tcp --dport 6379 -j ACCEPT
protected-mode yes 改为 no