@phenomlab Today I have received this email
Important notice regarding a potentially misconfigured Redis instance on your Droplet plesk-ubuntu-s-2vcpu-4gb-amd-blr1-01:
Hello,
A recent network security scan suggests your Droplet plesk-ubuntu-s-2vcpu-4gb-amd-blr1-01 is running Redis and that it may be unintentionally exposing data or misconfigured to allow unauthorized access.
Redis listens for traffic from everywhere on port 6379, and you can validate this report by attempting to connect to your Redis on 6379 via a simple telnet command:
telnet 1.0.0.0 6379
If the connection is successful, you will receive output like the following, which will confirm that your Redis installation is visible to the public Internet:
Trying 1.0.0.0....
Connected to 1.0.0.0.
Escape character is '^]'.
You will want to restrict outside access to your Redis instance to prevent outsiders from reading or obtaining your data.
Remediation of this issue will take just a few minutes and is relatively straightforward. You will need to open /etc/redis/redis.conf and uncomment (remove the “#”) or modify the line beginning with:
#bind 127.0.0.1 ::1
Afterwards, restart redis with:
sudo systemctl restart redis
You could find this information also in our community tutorial at: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-20-04
Regards,
Security Operations
DigitalOcean Security
i have tried following multiple guides as i see redis.conf file is empty there is no supervised
directive
what should i do to set this IP to local, what code i need to add?