It is currently Mon Sep 06, 2010 1:00 pm




Post new topic Reply to topic  [ 2 posts ] 
 Firewall ports 
Author Message
Moderator
User avatar

Joined: Sat Jan 12, 2008 7:56 am
Posts: 21
Post Firewall ports
I tried logging in today and was told that the UDP packet didn't make it to the server. The FAQ was supposed to have info for me, but I didn't see anything. What do I need to open?

Secondly, why do we need to open any ports at all if this is played through the browser, can't traffic just come through port 80?


Also, before the error message came up, I saw the map and it was positioned in the last location I was at before quitting. (in the cave) I suspect that the data is coming in just fine... could the error be something else then a missing packet?


Tue Feb 10, 2009 6:17 am
Profile
Site Admin
User avatar

Joined: Fri Jan 11, 2008 6:51 am
Posts: 114
Post Re: Firewall ports
I'll post a little more info about this in the "play game" and the FAQ as i see it is needed...

The ports that need to be open (both TCP and UDP) are 8762-8766. The server IP is
72.36.179.90. (applet does not connect back to legendofgaia.com).

The applet uses both TCP and UDP. I use both because TCP is not an effecient communication mechanism when you're talking about real-time sensitive data such as character movements. TCP is also vunerable to bottlenecks and traffic jams over the internet, while UDP is not. There is packet loss and fault tolerance built in both the server and the applet and this has been tested under 50% packet loss simulations with no problems, so it doesn't matter if UDP packets get lost.

TCP is used to send map data and other types of "cannot lose" objects, but it is not used for movement and other real-time sensitive data. That's why the applet requires both and will disconnect you if you have a firewall that blocks it.

You were seeing the TCP portion of the data (maps) but not the UDP portion. The game would not have worked properly without UDP, so that is why the server disconnects you, even though you have connected sucessfully over TCP.

Hope that solves all your issues :)

Also just cuz you asked, the applet cannot (and should not) bind to commonly used ports like port 80 becasuse the web browser is already bound to those ports...


Tue Feb 10, 2009 8:21 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.