flashactionscript-3actionscriptlocalconnection

Actionscript Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047: Security sandbox violation: LocalConnection.send: 127.0.0.1 cannot access


When running flash components that use localConnection within an HTML container, I get the following error in a popup box (flash player is the debug version):

Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047: Security sandbox violation: LocalConnection.send: 127.0.0.1 cannot access


Solution

  • Changing the page's URL from http://127.0.0.1/ to http://localhost/ solved the problem.