Which port(s) does XMPP use?

前端 未结 4 1557
春和景丽
春和景丽 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:29

    According to Extensible Messaging and Presence Protocol (Wikipedia), the standard TCP port for the server is 5222.

    The client would presumably use the same ports as the messaging protocol, but can also use http (port 80) and https (port 443) for message delivery. These have the advantage of working for users behind firewalls, so your network admin should not need to get involved.

提交回复
热议问题