Seeing the following error while attempting to stage an MQ Test on the Simulator Server:
MQException: MQJE001: Completion Code '2', Reason '2538' (MQRC_HOST_NOT_AVAILABLE)
All supported versions of DevTest
This error typically means that the MQ Channel Listener port is not open, which means it could be blocked by a firewall between the Simulator server and the MQ Manager, or MQ Security is blocking access to the port (via Access Control List)
You need to work with your MQ Team, and possibly the Network Security team, to get access to the channel listener ports from the DevTest Simulator server. The MQ team, should be able to tell you if they are restricting access within the MQ Security, or if there's a firewall restricting access.
Please run the commands to test the connection,
Remote over to the simulator server -
Open a Powershell (Admin) or Command Prompt (Admin)
Enter the following command:
Test-NetConnection -ComputerName <mQhost.net> -Port 1414 -InformationLevel Detailed
If the connection fails, run the following command from lsvwsw001awsd.devcma.comerica.net:
Test-NetConnection -ComputerName <mQhost.net> -TraceRoute
This test will show the network route between the two servers. If there's no route, or an incomplete route, your Network team would need to investigate the issue. The last hop in an incomplete route could indicate the network segment where the blocked communication is occurring.
Fixing the firewall issue for the MQ hosts resolved the issue.