activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
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 <mini_k79@yahoo.com> 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.
> http://checkip.dyndns.com/
>
> But from ec2 instance through java code it says Exception in creating
> Connection Could not connect to broker URL: tcp://122.166.150.9:61616.
> Reason: java.net.SocketTimeoutException: 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:
> http://activemq.2283324.n4.nabble.com/Activemq-on-amazon-ec2-tp4667506p4668728.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

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