Sun Java System Message Queue 3.7 UR1 Administration Guide

Specifying the Broker Name and Port

The default broker for imqcmd is one that is running on the local host, and the default port is 7676.

If you are issuing a command to a broker running on a remote host or listening on a nondefault port, or both, you must use the -b option to specify the broker’s host and port.