[Solved]-'WinError 10013' running Django on Windows

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

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.

0👍

run the command with port number 8080 as follows

python manage.py runserver 8080

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

👤vik

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.

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

Leave a comment