How to find RabbitMQ URL?

25,616

You can create new user for accessing your RabbitMQ broker. Normally port used is 5672 but you can change it in your configuration file.

So suppose your IP is 1.1.1.1 and you created user test with password test and you want to access vhost "dev" (without quotes) then it will look something like this:

amqp://test:[email protected]:5672/dev


I will recommend to enable RabbitMQ Management Plugin to play around RabbitMQ. https://www.rabbitmq.com/management.html

Share:
25,616
tensor
Author by

tensor

Machine Learning / Data Science in Tokyo, Japan. NLP (Japanese, English). Recommender system, Quantitative statistics.

Updated on July 09, 2022

Comments

  • tensor
    tensor almost 2 years

    Rabbit MQ URL looks like :

    BROKER_URL: "amqp://user:[email protected]:port//vhost"
    

    This is not clear where we can find the URL, login and password of RabbitMQ when we need to acccess from remote worker (outside of Localhost).

    In other way, how to set RabbitMQ IP adress, login and password from Celery / RabbitMQ

  • tensor
    tensor over 7 years
    What /dev means ? How/Where can we setup ? What about firewall access ?
  • kleash
    kleash over 7 years
    dev is the virtual host(vhost). It can be used to segregate different application to run on same RabbitMQ server with different access policies. The default vhost is "/" (without quotes).
  • kleash
    kleash over 7 years
    Firewall Access, you need to enable access to 5672 port. Setup what? the management plugin?