Can't bind to local XXXX for debugger

I keep getting the

Can't bind to local XXXX for debugger

message in console, but not for 1 port, for all random ports. I have done what's stated in this question, but with no luck.
I'm running Windows 8. In fact, these problems started after the upgrade to Windows 8.