1. Get the latest stable Redis files from the official website. Copy multiple files by port number, such as the 6379 and 6380 port respective packages, and modify the port number of the respective conf files, respectively, 6379 and 6380. The modifications are then renamed to Redis6379.conf and Redis6380.conf, and the final deployment to the server. 2. Log in to Windows Server with Administrator account, open CMD window, CD to the file where Redis resides. To perform the above installation command://Install 6379-Port Redis serviceredis-server--service-install--service-name redis6379 redis6379.conf--loglevel verbose--port 6379//Start the 6379-Port Redis serviceredis-server–service-start--service-name redis6379 redis6379.conf //Install 6380-Port Redis serviceredis-server--service-install--service-name redis6380 redis6380.conf--loglevel verbose--port 6380//Start the 6380-Port Redis serviceredis-server–service-start--service-name redis6380 redis6380.conf 3, to test:redis-cli-p 6379redis-cli-p 6380 4. Uninstall Service execution://Uninstall Port 6380 serviceredis-server--service-uninstall--service-name redis6380 redis6380.conf//Uninstall Port 6379 serviceredis-server--service-uninstall--service-name redis6379 redis6379.conf
Windows Server Multi-port Redis installation steps: