NOAUTH Authentication required [redis-cli]
by 개발자   2024-04-21 21:13:44   조회수:395

The error message "NOAUTH Authentication required" typically indicates that the Redis server requires authentication before allowing any commands to be executed. This is a security feature to prevent unauthorized access.


To authenticate with the Redis server using the redis-cli tool, you need to provide the correct password or authentication token. You can do this by using the -a or --pass option followed by the password when invoking redis-cli:


redis-cli -a your_password

Replace your_password with the actual password required for authentication. After providing the correct password, you should be able to execute commands against the Redis server using redis-cli.



refer> redis.conf.  requirepass


 redis-cli

127.0.0.1:6379 > AUTH [yourpassword]