Question

After leaving a Node JS app running for a while, I get a message from DO that i'm getting ddos'd

Hi guys, so I made a simple tic-tac-toe online game using Node JS (Express and Sockets.IO). I used nginx somehow to redirect my domain to access the app on the droplet. When the app is running, I can access it fine. After a while I leave the app running, I get a message from Digital Ocean saying my droplet was being ddos’d and they have disabled network on it. This has happened two times in a row after leaving the app running. I gave like three friends access to the app on my domain and I am 99% sure they are not ddosing me. I don’t know why this is happening. The source code for the node JS app is here if that matters: https://github.com/mbhadracant/tic-tac-toe


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This is unlikely to be directly related to your app. In order for our support team to reach out to you and disable networking on your droplet it would have had to have been receiving at least 1Gbps of incoming traffic. This is almost always a coordinated attack (though it is possible for a small number of clients pushing a ton of data).

Before digging too deep I would recommend powering off your droplet, creating a snapshot and using that to create a new droplet. If your previous IP address was being attacked it could have been due to a prior assignee being the target.