Can't connect to socket once published (not even locally)

Hey.
I’ve made a flash program that connects to a java server.
This works perfectly in the IDE ( Flash CS3 ).

When i however try to open the exported .swf from my Harddrive ( same pc as server is runnign on (127.0.0.1) ) the java server does not even recognize any attempt to connect to it.

After reading a while i found out that flash 9 uses policy files

Added this functionality to my server, which now listens for requests on port 843.
This results in same thing as before. Nothing even tries to connect =(

What should i do ?