Troubleshooting
A vulnerability scan reports a Redis service with no authentication that is reachable from the internet on TCP 6379. The only client is an application on the same host. ss -tlnp shows redis-server listening on 0.0.0.0:6379. What is the BEST fix?
Show the answer
Correct answerC. Set bind 127.0.0.1 in redis.conf and restart the service
Because only local clients need the service, binding it to the loopback address removes the network exposure. Changing the port only obscures the service, and a scan would still find it. File permissions on the configuration do not limit who can connect.