Cannot connect RabbitMQ server from client side

I followed this link to install RabbitMQ server on my Raspberry Pi 4.

I can see that RabbitMQ 3.7.8 and Erlang 21.2.6 are installed.

enter image description here

But I cannot connect to the server from a client (Mqtt Dash, Android app) enter image description here

Can someone share some ideas?


Update 1

sudo systemctl enable rabbitmq-server
sudo systemctl start rabbitmq-server
sudo rabbitmq-plugins enable rabbitmq_management

I have run the above commands to enable and start the mqtt and tried both 1883 and 8883 on the Mqtt Dashboard app, still have no luck.

Answers 1

  • Thanks @Andyroo for sharing the link

    I found I missed one command to run:

    rabbitmq-plugins enable rabbitmq_mqtt
    

    So overall, I ran these following commands:

    sudo systemctl enable rabbitmq-server
    sudo systemctl start rabbitmq-server
    sudo rabbitmq-plugins enable rabbitmq_management
    sudo rabbitmq-plugins enable rabbitmq_mqtt
    

Related Questions