Redis部署在服务器时,第一次连接需要配置redis.conf
vim redis.conf
将bind 127.0.0.1这行注释掉
增加protected-mode no (关闭保护进程模式)
redis-server redis.conf启动
Redis部署在服务器时,第一次连接需要配置redis.conf
vim redis.conf
将bind 127.0.0.1这行注释掉
增加protected-mode no (关闭保护进程模式)
redis-server redis.conf启动