Yes, if I have access to the port 80. But in my case, I don´t have, because
of that, I try to use the xmlsocket protocol, but it don´t work.


Regards,

Rogério



On 9/17/07, Alex Harui <[EMAIL PROTECTED]> wrote:
>
>    I think you want to load the policy file w/o a port so it uses a simple
> HTTP fetch.
>
>
>
> Security.loadPolicyFile("http://servico.servidor.com/crossdomain.xml<http://servico.servidor.com:6680/crossdomain.xml>
> ");
>
>  The policy file should then allow access to port 6680
>
>
>
> <allow-access-from domain="*" to-ports="6680" />
>
>
>
>
>  ------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Rogerio Gonzalez
> *Sent:* Monday, September 17, 2007 10:06 AM
> *To:* [email protected]
> *Subject:* [flexcoders] Sandbox/Crossdomain problem on connecting Socket
> with webserver on port 6680
>
>
>
> Hello everybody.
>
> I am developing a system for use of sockets to a telnet server on port
> 6677.
> Locally, everything goes fine, even creating a projector(exe).
>
> But when it goes online, it don´t connect because some kind of
> crossdomain error.
>
> The problem is that I don´t have access to the 80 port of the server,
> so my webserver is on 6680 port.
>
> I try use:
> Security.loadPolicyFile("http://servico.servidor.com:6680/crossdomain.xml
> ");
>
> And also:
> Security.loadPolicyFile("
> xmlsocket://servico.servidor.com:6680/crossdomain.xml");
>
> But, for some reason, he keeps giving me the sandbox error.
>
> I did several alterations like:
> Security.allowDomain(host +":6680")
> Security.allowInsecureDomain(host +":6680");
> Security.loadPolicyFile("xmlsocket://"+ host
> +":6680/crossdomain.xml");
> Security.loadPolicyFile("http://"+ host +":6680/crossdomain.xml");
>
> But still, nothing.
>
> Somebody have any idea?
>
> Regards!
>
> Rogério Gonzalez
>
>  
>

Reply via email to