A connection could not be made to WebSphere MQ for the following reason (reason '2538')

While trying to configure JMS Queue connection factories/Activation specification on Websphere Application Sever 8.5 and RAD 8.5.1 I get following error:

A connection could not be made to WebSphere MQ for the following reason: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2538' ('MQRC_HOST_NOT_AVAILABLE').

Can anybody please suggest this could be because of what reason?


The host your queue manager is running on is not reachable. In the connection factory have you provided the correct host name, does the queue manager have a running listener for the provided port, is the host and port allowed in the firewall?

You should try the host and port with telnet to check.

  • Make sure the hostname, port name, and queueManager name are correct.
  • Go to -> QueueManager -> Listener.
  • Search for LISTENER.TCP.
  • The status should be in Running state. Otherwise Start it by right-clicking.

Need Your Help

How to send array using base64 in PHP and cURL?

php arrays

Right now I want to send an array but I am getting this error message:

Optimizing MySQL for ALTER TABLE of InnoDB

mysql alter-table performance

Sometime soon we will need to make schema changes to our production database. We need to minimize downtime for this effort, however, the ALTER TABLE statements are going to run for quite a while. Our