[Django] What should I do if python manage.py runserver has been working normally before but suddenly fails to run?

Problem:
I have edited the same Django project multiple times before, but after a few days, when I run python manage.py runerver on the command line, it has been stuck, and there is no response when I use Ctrl+C.
django run unsuccessfully
Solution:
Turn off the computer first After the firewall runs python manage.py runserver
firewall
and closes it, it runs successfully!
run successfully
Note: Be sure to turn on the firewall after the operation is successful! ! !

Guess you like

Origin blog.csdn.net/lic1697067085/article/details/115972396