How to start and stop Redis under Ubuntu

Either connect to node instance and use shutdown command or if you are on ubuntu you can try to restart redis server through init.d:

/etc/init.d/redis-server restart

 

or stop/start it:

/etc/init.d/redis-server stop

/etc/init.d/redis-server start

 

On Mac

redis-cli shutdown

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326614454&siteId=291194637