Which port(s) does XMPP use?

前端 未结 4 1558
春和景丽
春和景丽 2021-01-30 12:52

I´ve searched and didnt find which ports does XMPP uses. I need to implement XMPP server and client and use XML transfer, file transfer and streaming. Do they use different port

4条回答
  •  时光取名叫无心
    2021-01-30 13:35

    According to Wikipedia:

    5222 TCP     XMPP client connection (RFC 6120)        Official  
    5223 TCP     XMPP client connection over SSL          Unofficial
    5269 TCP     XMPP server connection (RFC 6120)        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 6120 § 14.7.

提交回复
热议问题