Redis设置外网访问 1、注释bind并且把protectd-mode设置为no 2、启用bind(默认是127.0.0.1只能本机玩,可以设置成0.0.0.0) 3、设置密码(默认是没有密码的,设置密码后protected-mode不再生效)