0 Replies Latest reply on May 18, 2012 8:36 AM by Atimonit

    How to connect to AIR application over network


      I made an application using ServerSocket and Socket classes similar to the example at http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/net/ServerSo cket.html and it works. I can succesfully connect, disconnect, stop listening for new connections, send data and receive data etc.


      But where I am desperate is how to make it work over 'public network' and not only localhost or localnetwork.

      When creating server, I can specify to listen on, 192.168.x.x, localhost, and then connect with client to the server, but these addresses are not available to public network. I'd like to make client able to connect to my external IP address like "". I tried to bind server to the external IP but with no luck.


      Can it be caused by firewalls or by the fact I am behind a router? Or is it simply not possible using those two classes?


      In the end, it doesn't have to be using ServerSocket and Socket at all, but I would be grateful to anyone who tell me how to solve the problem.

      Anyone, please?