-
- centos 7、
- redis 3.2.9
- bind 0.0.0.0 修改为这个
- port 6379 这个为redis端口
- #修改这个为yes,以守护进程的方式运行,就是关闭了远程连接窗口,redis依然运行
- daemonize yes
- #将protected-mode模式修改为no
- protected-mode no
- #设置需要密码才能访问,password修改为你自己的密码
- requirepass password
redis远程连接设置
最新推荐文章于 2024-05-16 16:14:04 发布