skip to Main Content

Django and Celery error when using RabbitMQ in Centos "[Errno 111] Connection Refused"

I'm using Django and Celery with RabbitMQ as the message broker. While developing in Windows I installed RabbitMQ and configured Celery inside Django like this: celery.py import os from celery import Celery os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'main.settings') app = Celery('DjangoExample') app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks()…

VIEW QUESTION
Back To Top
Search