0
我正在嘗試使用XMLSocket.swf文件,並且它沒有連接。我需要在我的服務器上打開一個端口嗎?我正試圖在專用的遠程Windows 2008服務器上運行此操作。XMLSocket「無法加載策略文件」錯誤
這裏是FlashFirebug錯誤:
OK: Root-level SWF loaded: file:///C|/Users/vcaadmin/AppData/Roaming/Mozilla/Firefox/Profiles/70vbx4ys.default/extensions/flashfirebug%40o%2Dminds.com/chrome/content/flashfirebug.swf
OK: Root-level SWF loaded: http://speak-tome.com/flash/XMLSocket.swf
OK: Searching for <allow-access-from> in policy files to authorize data loading from resource at xmlsocket://speak-tome.com:9997 by requestor from http://speak-tome.com/flash/XMLSocket.swf
Error: Failed to load policy file from xmlsocket://speak-tome.com:9997
Error: Request for resource at xmlsocket://speak-tome.com:9997 by requestor from http://speak-tome.com/flash/XMLSocket.swf has failed because the server cannot be reached.
我的crossdomain.xml保存到Web目錄的根目錄,看起來像:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*"/>
<allow-http-request-headers-from domain="*" headers="SOAPAction"/>
</cross-domain-policy>
我注意到當我使用諸如http://www.yougetsignal.com/tools/open-ports等服務進行檢查時,我的域(speak-tome.com-72.167.253.16)關閉了端口843和9997。 /。我需要打開這些端口才能使策略文件起作用嗎? – TedMurphy