Saturday, October 12, 2013

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

That's exactly how I do it using Firefox on my Ubuntu 13.04 workstation. I see nothing wrong in your explanation.

Are you trying to access it from the same computer that the development server is running on? 
If so, then check to see whether you have a firewall running on your workstation which may be blocking port 8000. 
If you are trying to see it from another computer, then your server needs to listen on other ports.  Try "python manage.py runserver 0.0.0.0:8000"
--
Vernon


On Saturday, October 12, 2013 11:02:40 AM UTC-6, 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/0e144517-b2c5-4641-8eda-6dfceb8d0bbe%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate