redis配置

bind 127.0.0.1  设置只允许本机访问

protected-mode no   保护模式设置为 no
requirepass  12346  设置redis访问密码

posted @ 2021-01-06 15:19  leechg  阅读(69)  评论(0编辑  收藏  举报