The required ports will be different for your XMPP server and any XMPP clients. Most “modern” XMPP servers follow specific IANA ports for server 5269 and for clients from server 5222. Any additional ports depend on what features you enable on the server, that is, if you offer BOSH, then you may need an open port 80.
File transfer largely depends on both the clients you use and the server as to which port it will use, but most of them also negotiate a connection through the existing connection between the client and the XMPP server, so the client side will require the opening (or proxied through port 80.)
bear Aug 13 '10 at 16:25 2010-08-13 16:25
source share