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 "
contains the following:
<?xml version="1.0" ?>
<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