You still don't get what DDoS is...
Your computer is not infected!
There are some other computers on the net, infected from a trojan(botnets). The one who controls those botnets can connect all these botnets to your server. Imagine 100 computers trying to connect to your home server...that's bad. All you can do is buy a router with a good firewall(that's expensive) or firewall.