title: No response from the server error in ejabberd server
body: <p>Now I am working with XMPP-chat for Android using ejabberd server.</p>
  
  <p>When I am trying to connect to the server, it shows an error. But it works fine in openfire server.</p>
  
  <p>I am using <code>smack library</code>. </p>
  
  <p>Error log is given below:</p>
  
  <blockquote>
    <p>04-21 20:34:16.824: I/XMPPChatDemoActivity(1929): [SettingsDialog] Connected to 10.0.2.2
        04-21 20:34:21.932: E/XMPPChatDemoActivity(1929): Failed to log in as test3@eworks.com
        04-21 20:34:21.932: E/XMPPChatDemoActivity(1929): No response from the server.</p>
  </blockquote>