1 Reply Latest reply on Sep 28, 2010 12:44 PM by Zolotoj

    Socket problem

    Zolotoj Level 3

      I am using serial tcp/ip bridges to read data from serial scanners. The bridge has an IP, nothing else to use for a connection.

      So, my command looks like this:

      xmlsock.connect(bridge_ip, portnumber);

       

      I am getting a sandbox violation:

      Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file://192.168.1.12/ufd/golf.swf cannot load data from 192.168.1.152:8023

       

      Is there a way of getting this to work?

       

      This is my crossdomain.xml:

      <?xml version="1.0"?>

      <!-- http://www.foo.com/crossdomain.xml -->

      <cross-domain-policy>

      <allow-access-from domain="UFANDD.LOCAL" to-ports="8023"/>

      <allow-access-from domain="http://localhost/ufd/ufdreports" to-ports="8023"/>

      <!-- This is a master-policy file -->

      <site-control permitted-cross-domain-policies="master-only"/>

      <allow-access-from domain="192.168.1.12/ufd"/>

      <allow-access-from domain="192.168.1.152"/>

      <allow-http-request-headers-from domain="192.168.1.12/ufd" headers="Authorization">

      </cross-domain-policy>

       

      Thanks