I have a service that receives MSMQ messages and also hosts an API. The API must run on port 80 (for argument's sake, not worth going into here). Other services must be able to send messages to this service via HTTP. Therefore MSMQ must be able to receive messages on a port other than 80 (or 443).
This page on MSDN indicates that it's possible to send messages via HTTP to a port other than 80:
Luckily this isn’t difficult. The address needs to be modified just like using Internet Explorer to browse a web site that’s listening on a different port so just insert the port number after the server name.
For example, here’s the address where the destination web service is listening on port 8080:
DIRECT=
HTTP://MyWebServer:8080/MSMQ/Private$/TestQueue
This indicates that it's possible to configure a server at the other end to listen on an arbitrary port. Is this correct? If so, how is it achieved?