1 Reply Latest reply on Jan 7, 2009 11:58 AM by SoxFan33

    security violation connecting to socket

      We have a Windows application that is installed locally and listens to port 9999. It receives XML and responds with XML.We also have a Flex application that opens an XML socket to localhost and port 9999 and is able to communicate with our Windows application when run locally. However, when deployed to a web server, it triggers a Security sandbox violation.

      From all that I've read, the thing to do here is edit the crossdomain.xml file to allow access to that port. However, this doesn't seem to work. Currently, our Flex app is running on " http://localhost:3000/" and " http://localhost:3000/crossdomain.xml" contains the following:
      <?xml version="1.0" ?>
      - <cross-domain-policy>
      <allow-access-from domain="*" to-ports="*" />

      I've tried specifying the domains and ports specifically, but that doesn't seem to do anything. What am I doing wrong? Thanks in advance.