Web based messenger

LiveJabber which is browser based messenger(with ajax). LiveJabber is hosted on the application server. The client sends HTTP request to application server. The app server would then create an XMPPConnection instance per client and talks on the clients behalf to the wildfire server.

I would like to know maximum ports can be open on application server.

Can anyone help me on this.

Thanks,

Shivani