activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject Re: Activemq on amazon ec2
Date Mon, 01 Jul 2013 14:28:59 GMT
Can you connect from any other service on your ec2 instance to your
localhost? ie, this may be a networking question or EC2 (firewalls, etc)
question rather than specific to activemq.

On Mon, Jul 1, 2013 at 2:28 AM, Raji <> wrote:

> Hi ,
> I was able to successfully connect between 2 ec2 instances and send and
> recieve messages programatically.
> Now I have to connect from my local machine to ec2 broker and send and
> recieve messages. For this I have assigned Elastic Ip address in ec2
> running
> instance and with which Network Connection established in duplex mode from
> local machine.
> I am also able to send message programatically connecting to remote ec2
> machine using Elastic Ip but when i try to send message from ec2 instance
> through java code I am not able to connect to my local machine. I gave the
> current ip address of my local machine as one displayed in the link.
> But from ec2 instance through java code it says Exception in creating
> Connection Could not connect to broker URL: tcp://
> Reason: connect timed out
> Any suggestion to how to connect from ec2 instance. What local ip I should
> give to connect from ec2 instance.
> Thank you
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

*Christian Posta*
twitter: @christianposta

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message