-
problem description
redis-cli is the redis command line interface to interact with the redis service.
-
solution
-
via configuration file
$ vi /etc/redis.conf # daemonize no 改为 yes redis-server /etc/redis.conf
docker startup redis has no configuration file in it. You need to build it yourself.
-
start directly
redis-server &
李> ol> 李> <李>
引用 h2> 李> ul>
- 无法连接到127.0.0.1:6379的Redis:使用自制程序拒绝连接
div>
-