I am using the out-of-the-box configuration of ActiveMQ as described here:
http://activemq.apache.org/tomee.html, so I have no broker configured in
tomee.xml or anywhere else.

Currently, I can write messages to the JMS queue from localhost succesfully,
but when I try to write from another box, I get connection refused.

ConnectionFactory connFactory = new
ActiveMQConnectionFactory("tcp://localhost:61616"); //This works
ConnectionFactory connFactory = new
ActiveMQConnectionFactory("tcp://10.251.116.28:61616"); //Fails

javax.jms.JMSException: Could not connect to broker URL:
tcp://10.251.116.28:61616. Reason: java.net.ConnectException: Connection
refused: connect

What configuration do I need to add to make this accessible from another
box? Thanks!



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/ActiveMQ-accessible-as-localhost-only-tp4677069.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to