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

**URL:** <https://forum.kirupa.com/t/cant-connect-to-socket-once-published-not-even-locally/258595>\
**Category:** flash\
**Created:** [April 25, 2008, 2:26pm UTC](https://forum.kirupa.com/t/cant-connect-to-socket-once-published-not-even-locally/258595 "2008-04-25T14:26:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wokawaka](https://avatars.discourse-cdn.com/v4/letter/w/e480ec/32.png) [@wokawaka](https://forum.kirupa.com/u/wokawaka)\
**Post date:** [April 25, 2008, 2:26pm UTC](https://forum.kirupa.com/t/cant-connect-to-socket-once-published-not-even-locally/258595/1 "2008-04-25T14:26:56Z")

</div>

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 ?
