Forum Multiplayer Security Error 2048

Discussion and help relating to the Player.IO Multiplayer API

Security Error 2048

Postby lightbeam » December 6th, 2011, 7:30 pm

I've seen many people experiencing this type of error, I went through the forum to see fixes but unfortunately couldn't do it.
Changed this
client.multiplayer.developmentServer = "localhost:8080";
to this
client.multiplayer.developmentServer = "79.134.159.8:8080";
For the purpose of testing my game on other computers.

And I get this
got Error: Unable to connect to development server on 79.134.159.8:8080. Is the development server running?
got Error: Unable to connect to player.io multiplayer server due to Security Error [Error #2048: Security sandbox violation: file:///C|/Users/Ghassan.Ghassan%2DPC/Documents/Documents/playerio/Flash/NewGame/Output/MyGame.swf cannot load data from 79.134.159.8:8080.]

Tried to change the publish settings to access network, and tried to add my file in this link
http://www.macromedia.com/support/docum ... tml#119065

None of them worked :(. Am I missing something? Is there any piece of code I should add in the server code? Please help!
lightbeam
 
Posts: 21
Joined: November 4th, 2011, 5:57 pm

Re: Security Error 2048

Postby lightbeam » December 6th, 2011, 7:38 pm

Also added Security.allowDomain(*)
lightbeam
 
Posts: 21
Joined: November 4th, 2011, 5:57 pm

Re: Security Error 2048

Postby lightbeam » December 7th, 2011, 6:50 pm

Tried forwarding the ports and I don't get this error anymore :).
However it still gives me the message
Unable to connect, is the development server running?

I can put my local IP 192.168.2.100:8184 and it works, but my external doesn't.

Any ideas?
lightbeam
 
Posts: 21
Joined: November 4th, 2011, 5:57 pm


Return to Multiplayer



cron