Hello,
A typical XMPP server will open only one port, port 5222. All clients
will connect to that port so in theory an almost unlimited number of
connections are possible to that server. This is not particular to XMPP
but is a basic TCP/IP client/server feature, exactly the same goes for
other services for instance a web server. The 65536 port limit is a
client limit, not a server limit. A client can not have more than 65536
connections open to any other host at the same time (65536 is
theoretical, in reality this number will be much lower).
Regards,
Eric.
On 11/26/13 11:41, Haider Ali wrote:
Hi Everyone
Can anyone let me know that how XMPP handle so many connections. Since
we know that we can only open 2 ^ 16 = 65536 ports ( connections )
with a single machine. But i came to know that single xmpp server can
handle more connections than 65536.