Download: github.com/MSOpenTech/…
Download the redis installation file redis-x64-3.0.504.msi
Open the CMD window to switch to the installation directory and run the following command
redis-server.exe redis.windows.conf
Creating Server TCP listening socket *:6379: bind: Unknown error
Go to the installation directory and run the following command: D:\projectSoft\redis>redis-cli.exe 127.0.0.1:6379> shutdown not Connected > exit
Run redis.exe redis.windows.conf again, and the following information is displayed
_ the _ _. - ` ` __ '- _ _. - ` ` `. ` _.' '- _ Redis 3.0.504 (00000000/0) of 64 - bitCopy the code
.-.-“`. “`\/ _.,_ ”-._ ( ‘ , .-` | `, ) Running in standalone mode |`-._`-… – ` __… -.-.|’_.-‘| Port: 6379 |-. ._ / _.-‘ | PID: 18868-._ -._-./ .-‘ .-‘ |-._-. -.__.-‘ _.-‘_.-‘| |-.-._ _.-‘_.-‘ | http://redis.io-._ -._-.. – ‘-‘. – ‘| -. _ -. -. __. -‘ _. – ‘_. -‘ | | – -. _ _. – ‘_. -‘ | – _ – _ -.. – ‘_. -‘ _. – ‘. – _ -.. – ‘_. -‘ -. _ _. – ‘-.. – ‘
[18868] 26 Nov 20:52:16.812 # Server started, Redis version 3.0.504 [18868] 26 Nov 20:52:16.815 * DB loaded from disk: 0.000 seconds [18868] 26 Nov 20:52:16.815 * The server is now ready to accept connections on port 6379
Set redis startup, open CMD, enter services. MSC, find redis service, right click start if error occurs, close the start CMD window first