# Sockets and Sandbox

**URL:** <https://forum.kirupa.com/t/sockets-and-sandbox/319506>\
**Category:** flash\
**Created:** [February 23, 2011, 1:18am UTC](https://forum.kirupa.com/t/sockets-and-sandbox/319506 "2011-02-23T01:18:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajtyler](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@ajtyler](https://forum.kirupa.com/u/ajtyler)\
**Post date:** [February 23, 2011, 1:18am UTC](https://forum.kirupa.com/t/sockets-and-sandbox/319506/1 "2011-02-23T01:18:35Z")

</div>

I’m not sure if this falls in here or not, but let me have a go at it.

I’m working on a flash app that utilizes the AS3 SmartSocket classes from: [https://github.com/XaeroDegreaz/SmartSocket](https://github.com/XaeroDegreaz/SmartSocket)

It’s really cool and easy to use, but I’ve run into a problem (that I think is unrelated to that particular socket server). When I run in the flash IDE, I can access the socket server just fine and I have no problems.

However, when I run from my WAMP server on localhost, I get a sandbox error. I’m wanting to host this on a webserver, but I’m running into the same sandbox violations.

The socket server takes care of the crossdomain.xml policy file, but I’m still getting the Security Sandbox violation error #2048.

Does anyone have a solution to this?
