[jdev] Serving the jabber applet through a proxy

Patricia Swarbrick patricia.swarbrick at ideaca.com
Fri Jul 9 10:41:49 CDT 2004

What's happening is we've got a web/jabber server (both are on the same box) and yet another server that sits in between the web/jabber server and the client machine and masquerades as the web/jabber server. I'll try the http polling feature. This may help with the issue.


-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org]On Behalf
Of Trejkaz Xaoza
Sent: Thursday, July 08, 2004 4:46 PM
To: Jabber software development list
Subject: Re: [jdev] Serving the jabber applet through a proxy

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.


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

             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
jdev mailing list
jdev at jabber.org

More information about the JDev mailing list