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.