I have a Flash client that I want to connect to a server. Both are using localhost and port 50000 so there shouldn\'t be any cross-domain problems. I also set Access Netwo
This ended up being a security problem. The Flash Player has added security when a XMLSocket is used. The Flash Player now looks for a policy file on port 843. An alternative is to have the swf look for the policy file using the call Security.loadPolicyFile(). If the file exists and all the security settings permit the XMLSocket, then the connection is created.
Check out the Adobe article on Policy files and more info here. This is another good article about policy files.
Here is the policy file that finally worked for me. It is not restrictive at all. But, I figured I get things working and then make them right.