15👍
I will take running the server with different port as the answer, although I am not able to see port 8000 is used in stackoverflow suggested commands. Use: python manage.py runserver 8080.
5👍
Changing the port worked for me, I was trying to run the django server.
Its not a firewall issue just type port in front of your command
python manage.py runserver 7000
- Python: if more than one of three things is true, return false
- How to pass choice display name to model serialize in Django REST framework?
- Django Admin, accessing reverse many to many
0👍
Since changing the port worked for @Kaleab, the problem may have been another process using that port.
I just found a Firefox process with a loopback connection from port 5000 to port 5000 (strange?). Once I closed Firefox, I was able to start my Flask server without that error.
To find out which process is using the port, see here.
- How to measure the time profile of each django test?
- Specify order of columns in SELECT with UNION using Django ORM
0👍
Just restart your computer and run
python manage.py runserver
or
python manage.py runserver PORT_NUMBER
or
python manage.py runserver 8000
or
python manage.py runserver 8080
- Django-Rest-Framework: Paginate nested object
- How can i access the model instance used by a form from a template?
- REMOTE_ADDR not getting sent to Django using nginx & tornado
- Invalid Django TIME_ZONE
0👍
It is possible that you have another process running that is using the port. Finding and killing the process will enable you to use the 8000 port.
- Django's annotate Count with division returns integer instead of float
- How to upload multiple Images using DJango Rest Framework?
- Django pre_save signal does not work
- AbstractUser Django full example
- Django, phpmyadmin and mysql?
0👍
I got the Error Message due to my Antivirus App (Kaspersky). All i had to do was to assign manage.py
in Kasperky < manage programms to trustworthy
. I have a foreign version so trustworthy
is a literal translation, maybe in the english version it is named different.
0👍
I solved this using a different port:
python manage.py runserver 9999
9999
Worked for me