Forum C# Access Denied - Dev Server

Access Denied - Dev Server

Postby Darkdevil79 » October 29th, 2012, 11:10 pm

Hi , I have been using Player.IO for about a week now , and I wanted to test out the multiplayer code I wrote , I copy the server build to my VPS server and got port 8184 open on the windows firewall , but every time I try to connect I get the following error

Error Joining Room : PlayerIOClient.PlayerIOError: GeneralError, Unable to connect, errorcode=AccessDenid

But it looks to be connecting to the server , but not the room. I got no idea why , so I am hoping some one can happy

Thank you Lee
Lead Developer for Dark Sprite Studios
User avatar
Darkdevil79
Paid Member
 
Posts: 5
Joined: October 19th, 2012, 9:41 am
Location: Northampton UK

Re: Access Denied - Dev Server

Postby dreamora » October 29th, 2012, 11:14 pm

that would normally point towards incorrect / incomplete port forwardings.

Look at the dashboard - multiplayer area after starting the server. check if it is listed there as reachable, otherwise your port forwardings / proxy / whatever else impacts tcp 8184 is not allowing the connection
dreamora
 
Posts: 225
Joined: March 2nd, 2012, 9:58 am

Re: Access Denied - Dev Server

Postby Darkdevil79 » October 29th, 2012, 11:28 pm

I check that and it creates a room and say that I have 1 player online. I just been debuging thought mono and I get a socket error there is no crossdomain file , but were would i put the file. In my project or my server ?
Lead Developer for Dark Sprite Studios
User avatar
Darkdevil79
Paid Member
 
Posts: 5
Joined: October 19th, 2012, 9:41 am
Location: Northampton UK

Re: Access Denied - Dev Server

Postby dreamora » October 30th, 2012, 9:29 am

nowhere
for sockets you don't need a file, a socket policy server has to be running

that would be on tcp 843 for unity / flash and 943 for silverlight

Player.IO offers it from what I recall as it shows for me that the access to those ports is denied (I didn't forward them as we do a mobile title where its not required)
dreamora
 
Posts: 225
Joined: March 2nd, 2012, 9:58 am

Re: Access Denied - Dev Server

Postby Darkdevil79 » October 30th, 2012, 10:13 am

I worked that out last night , I got the policy server up and running and now I can connect , thank you for your help
Lead Developer for Dark Sprite Studios
User avatar
Darkdevil79
Paid Member
 
Posts: 5
Joined: October 19th, 2012, 9:41 am
Location: Northampton UK

Re: Access Denied - Dev Server

Postby Benjaminsen » October 30th, 2012, 10:40 am

Umm, why are you not just uploading the DLL to Player.IO for online testing? Sounds strange to run the development server on a VPS.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Access Denied - Dev Server

Postby Darkdevil79 » October 30th, 2012, 11:10 am

The reason is that I still writing the server side code , and I don't want to use my computer as the server , also I don't have to worry about port forwarding and stuff like that. Plus as I got 3 screens I can have remote connection to the server and see what's going on.

Is uploading the code to the live server a better idea ?
Lead Developer for Dark Sprite Studios
User avatar
Darkdevil79
Paid Member
 
Posts: 5
Joined: October 19th, 2012, 9:41 am
Location: Northampton UK

Re: Access Denied - Dev Server

Postby Benjaminsen » October 30th, 2012, 11:35 am

Uploading the DLL, gives you the ability to run the game online exactly like setting it up on your VPS. However it will be running using the Player.IO production servers which are much more stable and usable than the development server.

If you want insight into what your game is doing, you can submit custom errors to the errorLog or simply rely on the automatic errors posted by the system.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Access Denied - Dev Server

Postby Darkdevil79 » October 30th, 2012, 12:05 pm

I will have to give that a try
Lead Developer for Dark Sprite Studios
User avatar
Darkdevil79
Paid Member
 
Posts: 5
Joined: October 19th, 2012, 9:41 am
Location: Northampton UK


Return to C#



cron