Java IBM MQ client MQ.Environment setting hostname to only ip adress not connecting, but setting to "localhost" works. Local docker deployment ibm-mq
I'm using the com.ibm.mq.allclient-9.3.3.1.jar. I have a java test class, which tests the connection to a local docker IBM MQ container. I set it up like this: openOptions = CMQC.MQOO_INQUIRE | CMQC.MQOO_INPUT_AS_Q_DEF | MQConstants.MQOO_OUTPUT; MQEnvironment.hostname = "localhost"; MQEnvironment.port = 1414;…