[rabbitmq-discuss] Send message to rabbit server?
simon at rabbitmq.com
Wed Nov 16 12:24:25 GMT 2011
On 16/11/11 12:20, Nguyen Mau Quoc Hoan wrote:
> factory.setHost("10.2.17.66:4369 <http://10.2.17.66:4369>"); (it's
> not localhost anymore, intead of this, the host has to be the server
> address and rabbit port number)
1) ConnectionFactory.setHost() takes a hostname / IP address *without* a
2) The default port number is not 4369, it's 5672. But you should not
need to set this.
(Port 4369 is epmd which is used to help Erlang nodes find each other...)
More information about the rabbitmq-discuss