How can I stop redis-server?

前端 未结 26 1779
清歌不尽
清歌不尽 2020-12-07 06:51

I apparently have a redis-server instance running because when I try to start a new server by entering redis-server, I\'m greeted with the followin

26条回答
  •  独厮守ぢ
    2020-12-07 07:22

    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
    

提交回复
热议问题