title: Cannot connect to local openfire server from C#
body: <p>I've setup a openfire server in a vm, and its accessible from internet(I've done the port-forwarding to point to the ip of the vm).</p>
  
  <p>I can chat using spark so openfire is working perfectly.</p>
  
  <p>Now I am trying to connect my c# app to the server and I am getting error.</p>
  
  <p>Code :</p>
  
  <pre><code>private void button1_Click(object sender, System.EventArgs e)
      {
          try
          {
              using (var client = new XmppClient("192.168.0.109", "pbc92", "12345"))
              {
                  try
                  {
                      client.Connect();
                      client.StatusChanged += client_StatusChanged;
                  }
                  catch (Exception ex)
                  {
                      MessageBox.Show(ex.ToString());
                  }
  
              }
          }
          catch (Exception ex)
          {
              MessageBox.Show(ex.ToString());
          }
      }
  
  private void client_StatusChanged(object sender, S22.Xmpp.Im.StatusEventArgs e)
  {
      MessageBox.Show(e.Jid.ToString());
  }
  </code></pre>
  
  <p>The error : </p>
  
  <p><img src="https://i.stack.imgur.com/boue0.png" alt="Error Message"></p>