We have developed a chat application in both iOS and Android native platform , and all working fine with Port 5222- Plain Text communication. As part of securing the communication between client and server we have disabled Port 5222 and enabled Port 5223 in Client Server port settings. But its getting failed from the client side while connecting. Below is our library for iOS and Android
iOS : robbiehanson/XMPPFramework
Android : Smack-android
Can somebody suggest best way to enable secure communication from Mobile app and Server ?
Thanks in advance.