Re: Poll tutorial: running the command 'python manage.py runserver' produces an error
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBAgAGBQJRoRT6AAoJEFjlhRo+xFTEuqgP/2IqQrN0HPJEPTDnRzD8zXot
GfS9DAYbEBMmpWU7Pw4YWB5bIRbeNla9UKS7ojbg356QeGhi222+raPARx6WN/Ul
S7/TZeq0n4kNAiyIiqnHbEahfah7NZFFEf4Z7spqUL+vJwipNsgfy7AMYzm+4o9P
Dg1vTJDmKIYqslHb2Np47QtfvlRFvkrIQhgBvYY0+eT43CUPB773AeVtx1zZzahS
P4U2xN3CTP720SprJ7bYnpwP4ZBP/Mn0AUbPsMdh5w2Hw2gEzZ0NNxRUr7Q/BuT+
mK+i9qeNAmbapBHqrTLrCHXbN89LhTfxfoQEU1bRXG0XLtokOThLfC3oq5aQGfHM
R5Nkl9RZFy/KoQbO9m446go+96jhnj0AvQlMOLjsJo4EbqH+wjUi697u41lwltnY
aBDauiMAH0wMmTL3xazLDeYL0YmTIpKNA7tmuYsg+nkBAW3ErUSpswhbjj2fag5s
sOuxE05Gq6LxZVx/hsh9W91iHSl0ZSW3j1z8QeAoCqQTvfr7e/iMJAepOZlK6gRd
/0BMHPxc9+3r9j2pmIosGbYjHRT9SffYE2Lso+NScM8wGMwrM2fYrWzFmW6C4I1G
uk+x1Ug5rqPS7D36B47D232vw2mZWDpMGHNGvmHg8nMDqIsoTQPEGsC8N/xSQH2n
fMetzWdClMq6i+wj2Iez
=CuH+
-----END PGP SIGNATURE-----
On Sat, 25 May 2013 12:40:08 -0700 (PDT)
Kokas <79papakon@gmail.com> wrote:
> Hello
>
> When I run the initially created project using the command 'python
> manage.py runserver' gives me
> Error: [Errno 10013]
>
> When I run this command though 'python manage.py runserver 8001', then I
> can see the site on http://localhost:8001
>
> Can you tell me why this happens and what are those 4 digit numbers after
> localhost?
>
The default port that is used by runserver (8000) is already in use by
some other application (or you may have started the Django development
already in another terminal).
The parameter your provided (8001) is used to specify an alternate port
on which the development server should listen. You can learn some more
from:
https://docs.djangoproject.com/en/1.5/ref/django-admin/#runserver-port-or-address-port
Best regards
--
Branko Majic
Jabber: branko@majic.rs
Please use only Free formats when sending attachments to me.
Бранко Мајић
Џабер: branko@majic.rs
Молим вас да додатке шаљете искључиво у слободним форматима.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home