Error:
the redis service starts under the window, and an error is reported:
Creating server TCP listening socket *: 6379: bind: no error
Reason:
port 6379 has been bound. It should be because the service was not closed last time
Solution:
① enter the command in sequence:
Redis cli.exe
(start the redis client, connect to port 6379 of the local machine (127.0.0.1) and start the redis service) shutdownexit
② Start redis service: redis-server.exe redis. Windows.conf
[after configuring the service, start the service command redis server — service start close the service redis server — service stop]