3 Replies Latest reply on May 7, 2013 9:14 AM by Prem Radhakrishnan

    crossdomain.xml apache xmlsocket

    michalis0 Level 1

      I am trying to create a socket connection using XMLsocket connecting
      to a remote host at port 5050. On the remote host (windows machine)
      I run an apache server (port 80). I placed the crossdomain.xml in the directory:

      It reads as follows:

      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM " http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
      <allow-access-from domain="-where-The-SWF-is" to-ports="*"/>

      I cannot get the XMLsocket to work. I run a simple Java server at port 5050,
      which doesn't seem to complete the handshake because it never connects.

      Any ideas on what I might be missing?
      (SWF is compined on Flex Builder 3 Beta 3)

      thank you