[UFW BLOCK] Random IPs trying to connect
For the past weeks whenever I would connect to DigitalOcean and go to the console I would receive the following messages (https://ibb.co/pJyNCrD). I didn’t know what to make of them at the time but after some research, I found out that the firewall is blocking some connections.
I tried blocking some of them using “sudo ufw deny from IP” but there are so many of them. Is there another way to permanently block these connections?
Because they show up constantly they render the console unusable and after they started showing up, our server would constantly go down due to “Error displaying the error page: Application Instantiation Error: Could not connect to MySQL”.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×