I have a question about the XMPP protocol. My question is how you can do for example in my chat to transfer files without the firewall blocking me since most cases do not leave me.
I have a question about the XMPP protocol. My question is how you can do for example in my chat to transfer files without the firewall blocking me since most cases do not leave me.
Good mate, the first thing you should check is the ports, according to what I found in a post of StackOverflow in English you should consider the following ports:
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
Communication normally occurs over TCP connection in Port 5222 in the client-server case and in Port 5269 , in addition to < strong> Port 2523 for SSL in the server-server case, as read in the IANA conciserations a>.
Now, what you should do is find a way to unblock ports. Yes it is for the Windows Firewall here I leave you a video of how to open the ports, if it is a firewall some antivirus or in case of a physical firewall, there you should look specifically how to do it. I hope this help helps you
In Openfire, XMPP server written in Java, you can transfer files via proxy, through port 7777. That is, in this case you must open this port. Greetings