How to blow up a server in one mouse click
scripting.com
scripting.com
It's a hassle, sure, but if you're hosting this elsewhere chances are this isn't the first time this has happened, and if you're hosting it yourself then problem solved.
I'm guessing maybe this is a VM?
Either way, I tend to prefer hardware firewalls over software firewalls for this reason ESPECIALLY on Windows. With a "real" firewall, you can generally maintain a connection to the firewall (if you've set it up right), and that way if you firewall off the wrong port and need to reverse something you can still do so.
"And this is a completely virtual machine, there's no keyboard, no big red switch, no physical reality with which to fix this."
netsh firewall set opmode disable
Tragedy averted.
That's why I was clicking around looking for reasons when the OS asked this question (which I answered too quickly without thinking).
No matter, I've already provisioned a new server to take its place, and terminated the old one.
Machines belong to security groups, and security groups define which ports have access to the outside world - which is why you don't need the Windows firewall at all when running an EC2 instance.