rabbitmq安装后访问不了页面解决方案

win10安装rabbitmq安装后访问不了页面解决方案:

进入rabbitmq的安装路径下,找到sbin目录,依次输入如下指令解决问题:

rabbitmqctl start_app
rabbitmq-plugins enable rabbitmq_management
rabbitmqctl stop

安装rabbitmq的链接,非常详细了。

celery配置Rabbitmq

insert_queue = Celery('insert_DB_tasks',
                      backend=INSERT_DB_CELERY_RESULT_RABBITMQ_BACKEND,
                      broker=INSERT_DB_CELERY_BROKER_RABBITMQ_URL,
                      )
 其中:
INSERT_DB_CELERY_BROKER_RABBITMQ_URL = 'pyamqp://guest@localhost:5672//' # broker 
INSERT_DB_CELERY_RESULT_RABBITMQ_BACKEND = 'rpc://' # backend

你可能感兴趣的:(Celery,rabbitmq,python)