S
S
sortfact3332021-02-15 16:46:39
Python
sortfact333, 2021-02-15 16:46:39

The connection was not established because the destination computer denied the connection request. How to fix?

I created a new django project and followed the celery documentation
ran the project via command line
python manage.py runserver
Parallel launched celery
celery -A shop worker -l INFO
But got an error

[2021-02-15 17:47:27,918: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672// : [WinError 10061] Connection failed because the destination computer denied the connection request.
Trying again in 2.00 seconds... (1/100)

How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2021-02-15
@deliro

Did you start the message broker?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question