RabbitMQ - How to open the 5672 port on aws console correctly

Viewed 42

I have my rabbitMQ setup in an aws ec2 instance which is in a private subnet, i'm able to access it's management console and perform operations as well. But when i'm trying to connect to the rabbitmq via node.js, using aqmp:// , I get an error

2022-08-16 08:39:20.081458+00:00 [error] <0.31050.1> {bad_header,<<"GET / HT">>}

I have a load balancer facing the internet and I have opened HTTP traffic on ports 5672 and 15672, am I doing something wrong here ? in terms of ports ?

Should these ports be TCP ?

0 Answers
Related