title: 2538 - MQRC_HOST_NOT_AVAILABLE
body: <p>I am new to IBM Websphere MQ</p>
  
  <p>I am trying add messages to a Remote websphere MQ queue manager. I am getting following error while trying to connect to it.</p>
  
  <p>Also, I have tried many possible solutions provided in forums like changing .net framework to 3.5 also I am getting good ping while I ping the remote machine but I am unable to connect to it using C# code. The queue manager listener is up and running, but this is the error I am getting</p>
  
  <blockquote>
    <p>2538 - MQRC_HOST_NOT_AVAILABLE</p>
  </blockquote>
  
  <p>while trying to do this.</p>
  
  <pre><code>queueManager = new MQQueueManager();
  </code></pre>
  
  <p>I am using .net framework 4.5. Any help would be appreciated.</p>