Search code examples
restibm-mqmq

IBM MQ Rest Api communication via mqweb


Is it possible to configure multiple mqweb URLs on a single host? The host has multiple IP -s binded. For example:

MQWB1124I: Server 'mqweb' is running. URLS:
https://localhost:9443/ibmmq/rest/v1/
https://localhost:9443/ibmmq/console/
https://<random IP>:9444/ibmmq/rest/v1
https://<random2 IP>:9445/ibmmq/rest/v1
https://<random3 IP>:9446/ibmmq/rest/v1

Solution

  • You can configure mqweb to listen on all available network interfaces. Do this by configuring httpHost as an asterisk in double quotation marks.

    For example:-

    setmqweb properties -k httpHost -v "*"