If the server has been attacked by CC, you can take the following measures to solve the problem:
Restriction with firewalls and security groups: Limit traffic to your server to prevent further attacks.
Upgrade server resources: In order to cope with higher traffic, the server's memory, processor and other resources can be upgraded.
Install protection software: Install protection software, such as software that protects against DDoS attacks, to prevent future attacks.
Use a CDN service: Use a content delivery network (CDN) service to spread out traffic and reduce the impact of attacks on your server.
Report the attack to your ISP: If the attack persists, report the attack to your Internet Service Provider (ISP) for assistance.
Please note that preventing CC attacks is a complex task, therefore, it is recommended to seek professional help to ensure the security of your server.
Restrict source addresses: Reduce the impact of attacks by restricting specific source addresses and IP address ranges.
Router configuration: Modify the router configuration, such as enabling the DoS defense function, to prevent attacks.
Use elastic cloud services: Use elastic cloud services, such as Amazon Web Services (AWS), to reduce the impact of attacks on your servers.
Use caching: Use caching technology, such as Varnish caching, to improve server performance.
Monitor the network: Monitor your network in real time to detect potential attacks and take necessary countermeasures.
It is important to note that preventing CC attacks is a complex task, so it is best to seek professional help to ensure the security of your server.