Copy link to clipboard
Copied
Hi all,
When i run my application it shows :
"Warning: Found secure='true' in policy file from xmlsocket://10.0.0.17:843, but host 10.0.0.17 does not appear to refer to the local machine. This may be insecure. See http://www.adobe.com/go/strict_policy_files for details"
My swf file is placed in a wamp server 10.0.0.11. It tryed user amf 3 java netty server socket connection. When it attempt to send request it shows the above warning and there is no response to client.
I try to place crossdomain.xml on the netty server. But i dont know whats the root of the netty server
I tryed this too...but no use
var tmpStr:String= "xmlsocket://10.0.0.17:843"; |
Security.loadPolicyFile(tmpStr); |
Thanks,
Siva
Copy link to clipboard
Copied
the easiest way to avoid cross-domain issues, is to use a local executable (like a php file) and have that executable load your cross-domain assets and pass them to your local swf.
otherwise, you must correct your crossdomain.xml file. to start, you need a cross-domain meta policy file that is in the host server's root directory. if you don't have access to the root directory, you don't control that server and you are not allowed to place policy files on it. (see above solution.)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now