Thursday, August 21, 2014

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

Thanks for all your help guys. I got it to work by changing the ip address to: 

python manage.py runserver 0.0.0.0:8000

Not terribly sure why. 


On Tuesday, August 19, 2014 6:39:37 PM UTC-7, Camilo Torres wrote:


On Tuesday, August 19, 2014 11:59:31 AM UTC-4:30, Andrew Koller wrote:

curl: (52) Empty reply from server


On Tuesday, August 19, 2014 9:21:34 AM UTC-7, Tom Evans wrote:
On Tue, Aug 19, 2014 at 5:07 PM, Andrew Koller <akol...@gmail.com> wrote:
> Yes they are on the same computer and no, I don't get any additional output
> to the console. I know that something is sort of working because the chrome
> error message changes from "This webpage is not available" to "No data
> received" on 127.0.0.1:8000
>

From another console on the same machine:

telnet 127.0.0.1 8000

If it then says "Connected to localhost." type this in and hit return
twice afterwards

GET / HTTP/1.1
Host: 127.0.0.1

Alternatively, if you have curl installed:

curl -I http://127.0.0.1:8000/

Show the full output of either command please.

Cheers

Tom

Paste here the content of your urls.py 

--
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/32e82c48-587f-409b-a462-a38cfb0d8f00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment