runserver' produces an error MIME-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/Iufyh5ys=boUhbk8j.ZRe8A"; protocol="application/pgp-signature"
--Sig_/Iufyh5ys=boUhbk8j.ZRe8A Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This can also be caused by trying to stop the development server with CONTROL + Z instead of CONTROL + C. To free up port 8000 on Ubuntu, you can run these commands: netstat -lpn | grep 8000 # this will show all the listening ports filtered by 8000 >From the output, you will find the PID of the process (which will look like "2256/python" where 2256 will be the PID) then you can run: sudo kill 2256 Sent from my Windows Phone From: Branko Majic Sent: 5/25/2013 8:46 PM To: django-users@googlegroups.com Subject: Re: Poll tutorial: running the command 'python manage.py runserver' produces an error On Sat, 25 May 2013 12:40:08 -0700 (PDT) Kokas <79papa...@gmail.com> wrote: > Hello >=20 > When I run the initially created project using the command 'python=20 > manage.py runserver' gives me=20 > Error: [Errno 10013] >=20 > When I run this command though 'python manage.py runserver 8001', then I= =20 > can see the site on http://localhost:8001 >=20 > Can you tell me why this happens and what are those 4 digit numbers after= =20 > localhost? >=20 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-a= ddress-port Best regards --=20 Branko Majic Jabber: bra...@majic.rs Please use only Free formats when sending attachments to me. =D0=91=D1=80=D0=B0=D0=BD=D0=BA=D0=BE =D0=9C=D0=B0=D1=98=D0=B8=D1=9B =D0=8F=D0=B0=D0=B1=D0=B5=D1=80: bra...@majic.rs =D0=9C=D0=BE=D0=BB=D0=B8=D0=BC =D0=B2=D0=B0=D1=81 =D0=B4=D0=B0 =D0=B4=D0=BE= =D0=B4=D0=B0=D1=82=D0=BA=D0=B5 =D1=88=D0=B0=D1=99=D0=B5=D1=82=D0=B5 =D0=B8= =D1=81=D0=BA=D1=99=D1=83=D1=87=D0=B8=D0=B2=D0=BE =D1=83 =D1=81=D0=BB=D0=BE= =D0=B1=D0=BE=D0=B4=D0=BD=D0=B8=D0=BC =D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82= =D0=B8=D0=BC=D0=B0. --Sig_/Iufyh5ys=boUhbk8j.ZRe8A-- -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.