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

rafael ramtinova at gmail.com
Sun May 11 22:25:23 BST 2014


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.


More information about the rabbitmq-discuss mailing list