If you donβt have permission to bind to the socket, you can try sudo manage.py runserver to do this with root privileges.
On Windows Vista / 7, you need to run the shell as an administrator. You can right-click on the icon and select "Run as administrator" or go to c:\windows\system32\ and right-click on cmd.exe and select "Run as administrator".
Edit: OK, this error occurs when another process is already using the same port. To change the port, do manage.py runserver 8080 , where the number at the end is the port you need.
source share