售前咨询:400-0666-318
redis配置外网访问的方法:
打开redis目录下的redis.conf 文件。
找到:
bind 127.0.0.1protected-mode yes
bind 127.0.0.1
protected-mode yes
更改为:
# bind 127.0.0.1protected-mode no
# bind 127.0.0.1
protected-mode no
辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读: Redis慢查询日志怎么配置和使用