[jdev] Serving the jabber applet through a proxy

Trejkaz Xaoza trejkaz at xaoza.net
Thu Jul 8 17:45:30 CDT 2004


On Fri, 9 Jul 2004 04:10, Patricia Swarbrick wrote:
> Hi.
>
> I need to proxy the jabber applet through a firewall.  What do I need to
> do to get the proxy server to allow communication between the originating
> web/jabber server and the jabber applet?

There isn't nearly enough information here.  Is the firewall between the user 
and the Jabber server?  Or between the web server and the Jabber server?

I'm going to assume you're not talking about a firewall between the user and 
the server, because you can't predict what sort of firewall that is, and it 
will be out of your control 99.999% of the time.

But what you need to be sure the applet's connection will work everywhere is 
to install a Jabber applet with the HTTP polling feature.  I've confirmed 
that this works although the implementation of HTTP polling written for the 
jabber applet is a bit inefficient.  Assuming then, that the user can connect 
to the HTTP polling script (which is running inside the same web server as 
the page the applet was served from,) the polling server then needs to be 
able to connect to the Jabber server on port 5222.  So you'll have to open up 
that port for incoming from the web server, and allow the return packets from 
that port.

TX

-- 
'Every sufficiently advanced technology is indistinguishable from magic' - 
Arthur C Clarke
'Every sufficiently advanced magic is indistinguishable from technology' - Tom 
Graves

             Email: Trejkaz Xaoza <trejkaz at xaoza.net>
          Web site: http://xaoza.net/trejkaz/
         Jabber ID: trejkaz at jabber.xaoza.net
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73



More information about the JDev mailing list