停止(127.0.0.1是你的ip地址) 1.有密码: redis-cli -a 密码 -h 127.0.0.1 -p 6379 shutdown
2.无密码:
redis-cli -h 127.0.0.1 -p 6379 shutdown