Saturday, October 12, 2013

Re: unable to access django development server on firefox/chrome

You can also try this

$ python manage.py runserver 0.0.0.0:8000

You can get your IP from ifconfig, open that in a browser (it might be 192.168.0.10, etc). You can test your site from another machine in this way

K



On Saturday, October 12, 2013 10:02:40 AM UTC-7, gitrookie wrote:
hi

I have just started to learn django. so I followed the instruction given in the link below. I am using ubuntu 13.04 and using python 3.3.1 in a virtual environment

https://docs.djangoproject.com/en/1.5/intro/tutorial01/

I ran the following command

python manage.py runserver

it gave the following output

Validating models...

0 errors found
October 12, 2013 - 11:37:58
Django version 1.5.4, using settings 'mywebsite.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.


But I am unable to access the url http://127.0.0.1:8000/ on firefox. It says unable to connect

--
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+unsubscribe@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/af6f9e6b-619e-4dd6-970c-0d7ab06ce9e2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment