[rabbitmq-discuss] Send message to rabbit server?
Simon MacMullen
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
port number.
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...)
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list