I am trying to run an Django ASGI application, using ASGI web servers like Daphe, Uvicorn, Hypercorn on my windows machine. But, the server only starts with Hypercorn. I am not able to start the server with the other two.
The commands I gave are
Daphne
daphne -b 0.0.0.0 -p 8000 my_app.asgi:application
Hypercorn
hypercorn -b 0.0.0.0 -p 8000 my_app.asgi:application
Uvicorn
uvicorn -b 0.0.0.0 -p 8000 my_app.asgi:application
PS: I have configured the settings.py
file to serve ASGI application, by adding
ASGI_APPLICATION = "my_app.asgi.application"
And, I do not get any errors in the logs too.
How do I go about this?