Is the crossdomain.xml on the same domain/ip as the IP you are trying to connect to?
Rarely do you need to do the Security.allowDomain() or allowInsecureDomain() methods anymore. The security policies are pretty much now that you /need/ to be hosting the crossdomain file on the same server, domain and ip (port can be different), otherwise you will run afowl the security policy of not only the flash player, but the browser as well. -Nick On Thu, Jul 21, 2016 at 4:49 PM, Anton Bondarenko <divla...@gmail.com> wrote: > Hello. Cna anybody share with his socket experience. > For 2 days im trying to make sockets and no results > always 2031 ioerror and 2048 secureerror > > added > Security.loadPolicyFile(url to crossdomain.xml); > Security.allowDomain("*"); > Security.allowInsecureDomain(("*"); > > got secureerror from Security.allow with 3207 error but couldn understand > what about debug it means and what to do and when it works. > > crossdomain.xml in the server root. > <?xml version="1.0"?> > <!DOCTYPE cross-domain-policy SYSTEM " > http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> > <cross-domain-policy> > <allow-access-from domain="*" /> > <site-control permitted-cross-domain-policies="master-only"/> > </cross-domain-policy> > > Thanks for any comments > -- > //------------------------- > Best Regards, > Anton Bondarenko >