Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which port(s) does XMPP use?

Tags:

xmpp

ports

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 ports?? Is there a way I can make them use all the same, so I dont need to bother the network admin? Thanks

like image 398
fredcrs Avatar asked Aug 10 '10 18:08

fredcrs


People also ask

Does XMPP use TCP or UDP?

SIP will run over UDP, TCP, and SCTP, while XMPP is TCP only. SIP is a text-based request-response protocol while XMPP is XML-based client-server architecture. In other words, clients do not talk directly to one another.

What is XMPP client connection?

An XMPP client is any software or application that enables you to connect to an XMPP for instant messaging with other people over the Internet. There are many free clients you can use to do this, for many different devices and operating systems.

What is HTTP and XMPP?

CCS (XMPP) is asynchronous, which means it should be faster than HTTP. It also uses the existing GCM connection on the device to send messages from your app to your server (which saves battery, since you don't have to open your own connection to your server).


1 Answers

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.

like image 167
Mark Byers Avatar answered Sep 19 '22 09:09

Mark Byers