I am working on XMPP framework to create Text chat application. We have configure ejabberd server on amazaon ec2. I have tested my application on locally configured server and was working fine but as i replaced host and username with amazone ec2 details i am getting error "Read Operation timed out". I searched for help but issue is still unresolved.
Please help me in find out the solution for this.