activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gliesian <rob...@gliesian.com>
Subject JMSException - Reason: java.net.ConnectException: Connection refused: connect
Date Wed, 25 Nov 2009 15:37:32 GMT

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.


Mime
View raw message