[rabbitmq-discuss] Connecting To Rabbitmq Server On Ubuntu 14.04 EC2 Instance From Outside

Simon MacMullen simon at rabbitmq.com
Mon May 12 10:19:37 BST 2014


This is more of a question about EC2 networking / firewall really - the 
RabbitMQ instance looks like it is up and listening, that's as much as 
it can do.

I can only suggest traceroute and trying to connect from the machine 
itself to try to narrow down where the problem lies.

Cheers, Simon

On 11/05/2014 22:25, rafael wrote:
> Hi,
> I cannot access rabbitmq server outside the amazon ec2 here is what I've
> done my settings:
>
> EC2 Instances Security Groups :
>
> <http://rabbitmq.1065348.n5.nabble.com/file/n35459/1.png>
>
> my /etc/rabbitmq/rabbitmq-env.conf file :
>
> NODE_IP_ADDRESS=<instance private ip taken from ifconfig = 177.31.*.*>
>
> my /etc/hosts  file :
>
> 127.0.0.1 localhost
> 172.31.*.* ip-172-31-*-*
> # The following lines are desirable for IPv6 capable hosts
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
>
> my netstat -vpln command output :
>
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
> PID/Program name
> tcp        0      0        0.0.0.0:22              0.0.0.0:*
> LISTEN      927/sshd
> tcp        0      0        172.31.*.*:5672      0.0.0.0:*
> LISTEN      4662/beam
> tcp        0      0        0.0.0.0:25672           0.0.0.0:*
> LISTEN      4662/beam
> tcp        0      0        0.0.0.0:4369            0.0.0.0:*
> LISTEN      2089/epmd
> tcp6       0      0        :::22                   :::*
> LISTEN      927/sshd
> udp        0      0        0.0.0.0:68              0.0.0.0:*
> 501/dhclient
> udp        0      0        0.0.0.0:45419           0.0.0.0:*
> 501/dhclient
> udp6       0      0        :::61763                :::*
> 501/dhclient
>
>
> but whenever from my personal computer I perform :
> $ telnet <instance public IP >  5672
>
> Trying 54.86.148.143...
> telnet: Unable to connect to remote host: Connection timed out
>
> I've set the NODE_IP_ADDRESS to 0.0.0.0 and still no success.
>
> any idea?
>
>
>
>
>
>
>
>
> --
> View this message in context: http://rabbitmq.1065348.n5.nabble.com/Connecting-To-Rabbitmq-Server-On-Ubuntu-14-04-EC2-Instance-From-Outside-tp35459.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>



More information about the rabbitmq-discuss mailing list