1. Start the redis client redis-cli and report an error
redis Could not connect to Redis at 127.0.0.1:6379: Connection refused because the client could not find the server
Indicates that the server did not start successfully
2. How to start and stop the redis service
Replenish:
Because the redis service port is modified
Start the redis
client./bin/redis-server ./conf/redis.conf —> start the
service./bin/redis-cli -p 1234 —-> start the
client./bin/redis-cli -p 1234 shutdown shutdown Serve