You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by gliesian <ro...@gliesian.com> on 2009/11/25 16:37:32 UTC
JMSException - Reason: java.net.ConnectException: Connection
refused: connect
Hi... I could use a little help.
My servicemix client works locally but not remotely.
Here's the code:
ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory(user, password, url);
Connection connection = connectionFactory.createConnection();
INFO XXXX - Caught: javax.jms.JMSException: Could not connect to broker
URL: tcp://XX.XX.XX.XX:61616. Reason: java.net.ConnectException: Connection
refused: connect
BTW, on the linux server machine, I did the following to open all ports and
there is no router in the mix:
iptables -P OUTPUT ACCEPT
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
Any help would be appreciated!
Thanks!
--
View this message in context: http://old.nabble.com/JMSException---Reason%3A-java.net.ConnectException%3A-Connection-refused%3A-connect-tp26514871p26514871.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.