How can I run redis on a single server on different ports?

前端 未结 3 1588
眼角桃花
眼角桃花 2021-02-15 14:16

I\'m using kue which uses node_redis, but I\'m also already using node_redis for my sessions, so I\'d like to have kue create a server on a specific po

3条回答
  •  说谎
    说谎 (楼主)
    2021-02-15 15:09

    Very easy command:

    echo "port 4000" | redis-server -

    echo "port 4001" | redis-server -

提交回复
热议问题