腾讯云 Redis 远程访问

在此之前根据自己的服务器发现版本下载对应的 Redis 即可

一、编辑 redis.conf 文件

image

vim redis.conf
  1. /:bind 注释掉
  2. /:protected-modeyes 改为 no
  3. /:daemonizeno 改为 yes
  4. /:requirepass:设置密码

二、重启 Redis

关闭 Redis
image

重启 Redis
image

三、服务器开放端口

控制器 \(\rightarrow\) 防火墙 \(\rightarrow\) 添加规则
image

四、参考

避坑外连腾讯云服务器redis 6379

posted @ 2025-05-22 22:41  Cocoicobird  阅读(36)  评论(0)    收藏  举报