can't connect to MQ from java in windows
<p>I have installed Websphere MQ 8 server in my Windows 8,</p>

<p>using MQ Explorer :
I created a queue manager <code>MAJID.QUEUE.MANAGER</code> with port <code>1419</code>.
I created a <code>TCP</code> listener on port <code>1419</code>.</p>

<p>I tried one of the java programs that Tools from MQ8 installation, it runs like this :</p>

<pre><code> PCF_ListQueueNames  MAJID.QUEUE.MANAGER 10.196.67.99 1419
</code></pre>

<p>but I only got :</p>

<pre><code> Completion Code '2', Reason '2035'.
</code></pre>

<p>UPDATE:</p>

<p>the log file says :</p>

<pre><code>AMQ9777: Channel was blocked

 EXPLANATION:
 The inbound channel 'SYSTEM.DEF.SVRCONN' was blocked from address 'ITD-     968735
 (192.168.56.1)' because the active values of the channel matched a record
  configured with USERSRC(NOACCESS). The active values of the channel were
  'CLNTUSER(alotfi) ADDRESS(ITD-968735)'.
  ACTION:
  Contact the systems administrator, who should examine the channel
  authentication records to ensure that the correct settings have been
  configured. The ALTER QMGR CHLAUTH switch is used to control whether  channel
  authentication records are used. The command DISPLAY CHLAUTH can be used  to
  query the channel authentication records. 
  ----- cmqxrmsa.c : 1461 -------------------------------------------------------
  1/13/2016 15:55:13 - Process(9988.27) User(MUSR_MQADMIN) Program(amqrmppa.exe)
                  Host(ITD-968735) Installation(Installation1)
                  VRMF(8.0.0.4) QMgr(MAJID.QUEUE.MANAGER)

    AMQ9999: Channel 'SYSTEM.DEF.SVRCONN' to host '192.168.56.1' ended abnormally.

   EXPLANATION:
   The channel program running under process ID 9988(8292) for channel
   'SYSTEM.DEF.SVRCONN' ended abnormally. The host name is '192.168.56.1'; in some
   cases the host name cannot be determined and so is shown as '????'.
</code></pre>