5222 TCP XMPP client connection (RFC 3920) Official 5223 TCP XMPP client connection over SSL Unofficial 5269 TCP XMPP server connection (RFC 3920) Official 5298 TCP UDP XMPP JEP-0174: Link-Local Messaging / Official XEP-0174: Serverless Messaging 8010 TCP XMPP File transfers Unofficial
The port numbers are defined in RFC 3920:
Communications using XMPP normally occur over TCP connections on port 5222 (client-to-server) or port 5269 (server-to-server), as registered with the IANA (see IANA Considerations). Use of these well-known ports allows administrators to easily enable or disable XMPP activity through existing and commonly-deployed firewalls.
15.9. Port Numbers
The IANA has registered “xmpp-client” and “xmpp-server” as keywords for TCP ports 5222 and 5269 respectively.
These ports SHOULD be used for client-to-server and server-to-server communications respectively, but their use is OPTIONAL.
- XMPPHP Philosophy
- Here you can find a solution for how to register new user in xmpp server using xmpphp http://anandafit.info/2011/05/10/register-new-xmpp-users-with-xmpphp/
- Jabber with PHP – Part I (XMPPHP)
Small example with XMPPHP
- XMPPHP as live support chat