amazon ec2 - Unable to connect to moquette in aws ec2 instance -
i new mqtt , have been trying implement mqtt moquette on aws ec2, tried configuration , installation of broker on machine , able connect , test client, when same aws ec2 instance can see ports 1883, 8080 listening 0.0.0.0 ip address when connect client not able connect.
while configuring host in local machine provided 0.0.0.0 host , ports 1883, 8080 , on aws server provided private ip host , ports 1883, 8080. have added rules in security groups allow tcp on 1883 & 8080.
my question should host value should use on aws private ip or aws url 'ec2-xx-xx-xxx-xx.us-west-2.compute.amazonaws.com' , url access broker client 'tcp://ec2-xx-xx-xxx-xx.us-west-2.compute.amazonaws.com' or ip
what doing wrong here ?? stuck issue
thanks all
after search able solve issue, checking security groups right missed adding rule in ec2 instance firewall ports 1883, 8080. once done able connect broker external clients.
thanks tried help.
Comments
Post a Comment