I've tried everything, firewalls, reinstalling etc etc. I can't get the debugger to connect no matter what I do.
I'm just writing a simple Air application, with Flex and Actionscript. But any type of debugging on any type of application doesn't work. I get this message
The Flash Builder debugger failed to connect to the running application.
Then often when I try again, I get this message
Unrecognized Windows Sockets error: 0: JVM_Bind
Running the program without debugging works fine.
After spending way too much time on this and trying everything suggested and more, the solution unfortunately was to reformat the laptop and try again.
Thanks for everyone for their responses and efforts.