[rabbitmq-discuss] Can we launch hello world tutorial from two different machines (foreign consumer and producer) ?

Tim Watson tim at rabbitmq.com
Wed May 8 12:36:26 BST 2013


Hi,

On 8 May 2013, at 12:28, laurent bernabe wrote:
> where factory is the ConnectionFactory instance, but I got an exception (java.net.UnknownHostException).
> Or must I make some configuration on the two peers before ?
> 

You might get away with just adding the IP => HOSTNAME mapping to your /etc/hosts file. If not, consult google for *nix administration related stuff until `ping HOSTNAME` works on both machines (and the machine where the broker is running, if that is a third box).

Cheers,
Tim 


More information about the rabbitmq-discuss mailing list