redis设置bind

1>注释掉bind
#bind 127.0.0.1
2>默认不是守护进程方式运行,这里可以修改
daemonize no
3>禁用保护模式
protected-mode no

 启动Redis并指明配置文件

redis-server ../redis.conf
posted @ 2018-04-03 16:30  guuyoog  Views(1249)  Comments(0Edit  收藏  举报