开发者

How can I check if a server supports xmpp or not?

开发者 https://www.devze.com 2023-03-05 20:23 出处:网络
Is there anyway in which I can check if a server supports XMPP protocol or not? I am very new to XMPP, and I am dealing with a shared server. I am supposed to use XMPP to create a chatting sy开发者_如

Is there anyway in which I can check if a server supports XMPP protocol or not?

I am very new to XMPP, and I am dealing with a shared server. I am supposed to use XMPP to create a chatting sy开发者_如何学Cstem. But as I read about XMPP, I am supposed to install openfire and I have no access to the server itself.

So I want to check if the server supports xmpp or not.


Here's the XMPP RFC which includes recommended port numbers: https://www.rfc-editor.org/rfc/rfc3920#section-15.9

So you could try connecting to port 5222 on a server (with a proper XMPP client, a plain socket in C, the telnet program, or whatever). Note also that port 5223 is used by some XMPP servers for SSL/TLS (as noted in appendix D.1. of the RFC).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号