Hello everyone, my server is under a DDoS attack, when you try to access my website shows Error establishing a database connection, this happens even when I have the option of I’m under attack activated, when I see my server I get the following connections :
Assuming that the number on the left is the number of active connections per IP address is a large number of requests so I think it is a DDoS attack.
I tried everything, blocking IPs, installing CSF, using Cloudflare, different Wordpress plugins like Protection against DDoS, I tried to get the technical support of my provider to solve the problem and they don’t fix it.
What I can do? What suggestion would you have to my problem? Thank you for advanced.
Maybe it’s your database that’s under DDoS attack. Does it ever work?
Those IP addresses are not from Cloudflare, so perhaps they are attacking your IP address directly. For better attack protection, your server firewall should block everything, but whitelist Cloudflare’s IP addresses:
I copy past it in all ddos posts, if you tried it all and it didnt help give us more info about the attack:
first you need to get logs, since your servers is down your will need cf to assist you with this, the easiest way is to use https://logflare.app/ or worker
after that you can use all this tools to help against layer 7 attacks:
rate limiting
I am under attack mode(not working with api routes)