I am having some problems running django. When I use the command manage.py runserver I receive an error that says: Error: [Errno 10013] An attempt was made to access a socket in a way forbidden by access permissions
I use postgreSQL as my database.
Edit: I run Windows Vista
If you don’t have permission to bind to a socket, you can try
sudo manage.py runserverto do it with root privileges.With Windows Vista / 7 you need to run the shell with administrator privileges. You can right click on the icon and select “Run as administrator” or go to
c:\windows\system32\and right click oncmd.exeand 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 8080where the number at the end is the port you want.