On Jan 21, 2004, at 11:16 PM, Scott Rossi wrote:


I'm trying to establish socket connections behind a router with firewall.
(I'm using the little chat demo that Tuviah put together some time ago.) I
assumed I only needed the local (router assigned) addresses of each machine,
but either this is wrong or I'm doing something else wrong.


The demo works with both the server and client stacks on the same machine,
but when I move the client to another networked machine and point it at the
local address of the server stack's machine, nothing seems to happen. Ports
are the same, and both machines can see each other on the network. Opening
the socket returns empty as if it succeeded and the socket is listed in the
openSockets, but no message is returned from the socket upon opening.


Can some kind soul enlighten me as to what I'm doing wrong?

Thanks & Regards,

Scott,


Hell, I hate firewalls!!! :-D I was having similar problems here. First you need to check the ports, what port you're using and if this port is blocked or not. I'll tell you an ugly and bad solution, actually is not a solution, it's just a hack for you to know if the problem is your code or your firewall. You can:

A) Change the port you're connecting the stacks to port 80, almost no sane firewall will block port 80 for this is the port defined for HTTP transport (means web). This port should work, but this is evil for you're using a port defined to serve HTTP transport for custom stack transport... it's really ugly and against the specs we all love. But it should get across the firewall. You can use this to try the stacks, them, if the problem is with the firewall, you must find some port that is not being blocked, try high ports like 8080 and the like.

B) You can opt not to use that evil hack above to test your stack, try using a high port or contact your sysadmin and ask him for a clear port for your usage, this is the peacefull and wise decision. Once you find our what port to use, everything will be haven.

You can them look for RevZeroconf external, this will enable your chat client to find it's friends across the network without caring for ports or ips... this is really handy.

Cheers
Andre

PS: I cannot be sued for the misuse of port 80! :-D




Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: [EMAIL PROTECTED] W: http://www.tactilemedia.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to