フラッシュ クライアントが接続できるポート 443 でソケット サーバーを実行したいと考えています。多くの場合、企業のファイアウォールによって閉じられているため、ポート 843 を使用してソケット ポリシー ファイルを提供したくありません。
現在、ポート 443 でソケット サーバーからポリシー ファイルを提供しています。ただし、ポリシー ファイルを送信した後、クライアントが接続を閉じているようです。次のエラー メッセージが表示されます。
SecurityErrorEvent type="securityError" bubbles=false
cancelable=false eventPhase=2 text="Error #2048: Security sandbox
violation: http://yy.yyy.yyyy.yyyy/path/movie.swf
cannot load data from xx.xxx.xxx.xxx:443."]
ポリシー ファイルが正常に送信されたことを確認しました。
echo -ne '<policy-file-request/>\0' | nc -v xx.xxx.xxx.xxx 443
Connection to xx.xxx.xxx.xxx 443 port [tcp/https] succeeded!
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*" to-ports="443" />
</cross-domain-policy>
swf のロード元のドメイン (yy.yyy.yyy.yyy) は、サーバーのアドレス (xx.xxx.xxx.xxx) とは異なることに注意してください。
私は何を間違っていますか?