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

2014-08-21 Thread Andrew Koller
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  
>>> 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+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.
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.


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

2014-08-19 Thread Camilo Torres


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  
>> 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+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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/69cbdb18-4adb-4fcd-a6e9-6466bc838c27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-19 Thread Tom Evans
On Tue, Aug 19, 2014 at 5:29 PM, Andrew Koller  wrote:
> curl: (52) Empty reply from server
>

You have a firewall or some other security mechanism stopping communication?

Please verify that the django server is running and listening on the
port we assume it to be:

netstat -lpn | grep 8000

Cheers

Tom

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1KyE02Xtx6z1pTLnaUg8CqQX%3DHvnEN1D3K0K5iFipaP%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-19 Thread Andrew Koller
 

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  > 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 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/213ce2cf-4642-4e23-8f68-7694fc2d9f58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-19 Thread Tom Evans
On Tue, Aug 19, 2014 at 5:07 PM, Andrew Koller  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

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1JJ52GMTNzfYdnRJkTGiC-d71cyALyFY6qFBKyB23gjdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-19 Thread Andrew Koller
Thanks for your help, but I get the same result.

On Monday, August 18, 2014 11:37:25 PM UTC-7, Sergiy Khohlov wrote:
>
> also try 
>  python manage.py runserver  127.0.0.1:8000
>
> Many thanks,
>
> Serge
>
>
> +380 636150445
> skype: skhohlov
>
>
> On Tue, Aug 19, 2014 at 8:46 AM, Aaron C. de Bruyn  > wrote:
>
>> After trying to load the page in Chrome, do you see any output in the 
>> 'runserver' window?
>>
>>
>> On Mon, Aug 18, 2014 at 7:28 PM, Andrew Koller > > wrote:
>>
>>> I'm having issues getting the dev server to work. After I installed 
>>> Django, and 
>>>
>>> $ python -c "import django; prindjango.get_version())"
>>>
 returns 1.6.5
>>>
>>> Then:
>>>
>>> $ python manage.py runserver
>>>
>>> returns: 
>>>
>>> Validating models...
>>> 0 errors found
>>> August 19, 2014 - 02:19:03
>>> Django version 1.6.5, using settings 'mysite.settings'
>>> Starting development server at http://127.0.0.1:8000/
>>> Quit the server with CONTROL-C.
>>>
>>> but 127.0.0.1:8000 shows no data in Chrome. 
>>>
>>> Thanks for the help 
>>>
>>>  -- 
>>> 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...@googlegroups.com .
>>> To post to this group, send email to django...@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/13f29c35-56bb-455e-b7dc-68d2f160c82e%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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/CAEE%2BrGrz1Ocwbb4X3WKv2P0-%2Bd2aqO1%3DDbat%3DccEe2BbXyTneQ%40mail.gmail.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7f899ebb-2db3-4220-be1b-8c20cfb08327%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-19 Thread Andrew Koller
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

On Monday, August 18, 2014 7:28:12 PM UTC-7, Andrew Koller wrote:
>
> I'm having issues getting the dev server to work. After I installed 
> Django, and 
>
> $ python -c "import django; prindjango.get_version())"
>
>> returns 1.6.5
>
> Then:
>
> $ python manage.py runserver
>
> returns: 
>
> Validating models...
> 0 errors found
> August 19, 2014 - 02:19:03
> Django version 1.6.5, using settings 'mysite.settings'
> Starting development server at http://127.0.0.1:8000/
> Quit the server with CONTROL-C.
>
> but 127.0.0.1:8000 shows no data in Chrome. 
>
> Thanks for the help 
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/99cc6308-ecf2-49cc-80c5-bfeaa6a34f51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-19 Thread Andrew Koller
Yes they are. 

On Tuesday, August 19, 2014 2:13:18 AM UTC-7, Tom Evans wrote:
>
> On Tue, Aug 19, 2014 at 3:28 AM, Andrew Koller  > wrote: 
> > I'm having issues getting the dev server to work. After I installed 
> Django, 
> > and 
> > 
> > $ python -c "import django; prindjango.get_version())" 
> >> 
> >> returns 1.6.5 
> > 
> > Then: 
> > 
> > $ python manage.py runserver 
> > 
> > returns: 
> > 
> > Validating models... 
> > 0 errors found 
> > August 19, 2014 - 02:19:03 
> > Django version 1.6.5, using settings 'mysite.settings' 
> > Starting development server at http://127.0.0.1:8000/ 
> > Quit the server with CONTROL-C. 
> > 
> > but 127.0.0.1:8000 shows no data in Chrome. 
> > 
> > Thanks for the help 
> > 
>
> Are the browser and django running on the same computer? 
>
> Cheers 
>
> Tom 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/638b2312-23d1-4ec6-82ce-6eb22763d911%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-19 Thread Tom Evans
On Tue, Aug 19, 2014 at 3:28 AM, Andrew Koller  wrote:
> I'm having issues getting the dev server to work. After I installed Django,
> and
>
> $ python -c "import django; prindjango.get_version())"
>>
>> returns 1.6.5
>
> Then:
>
> $ python manage.py runserver
>
> returns:
>
> Validating models...
> 0 errors found
> August 19, 2014 - 02:19:03
> Django version 1.6.5, using settings 'mysite.settings'
> Starting development server at http://127.0.0.1:8000/
> Quit the server with CONTROL-C.
>
> but 127.0.0.1:8000 shows no data in Chrome.
>
> Thanks for the help
>

Are the browser and django running on the same computer?

Cheers

Tom

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1L6Mpi92i0B8mW2D6zyW%3DWuamE452SFd0BOKsVsmEmhcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-19 Thread Sergiy Khohlov
also try
 python manage.py runserver  127.0.0.1:8000

Many thanks,

Serge


+380 636150445
skype: skhohlov


On Tue, Aug 19, 2014 at 8:46 AM, Aaron C. de Bruyn 
wrote:

> After trying to load the page in Chrome, do you see any output in the
> 'runserver' window?
>
>
> On Mon, Aug 18, 2014 at 7:28 PM, Andrew Koller 
> wrote:
>
>> I'm having issues getting the dev server to work. After I installed
>> Django, and
>>
>> $ python -c "import django; prindjango.get_version())"
>>
>>> returns 1.6.5
>>
>> Then:
>>
>> $ python manage.py runserver
>>
>> returns:
>>
>> Validating models...
>> 0 errors found
>> August 19, 2014 - 02:19:03
>> Django version 1.6.5, using settings 'mysite.settings'
>> Starting development server at http://127.0.0.1:8000/
>> Quit the server with CONTROL-C.
>>
>> but 127.0.0.1:8000 shows no data in Chrome.
>>
>> Thanks for the help
>>
>>  --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/13f29c35-56bb-455e-b7dc-68d2f160c82e%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEE%2BrGrz1Ocwbb4X3WKv2P0-%2Bd2aqO1%3DDbat%3DccEe2BbXyTneQ%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADTRxJO_NXKLtCjDDN%2BRaNDgOc-xxqKNO%2B2ZB5B6FMpefgP1wQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-08-18 Thread Aaron C. de Bruyn
After trying to load the page in Chrome, do you see any output in the
'runserver' window?


On Mon, Aug 18, 2014 at 7:28 PM, Andrew Koller  wrote:

> I'm having issues getting the dev server to work. After I installed
> Django, and
>
> $ python -c "import django; prindjango.get_version())"
>
>> returns 1.6.5
>
> Then:
>
> $ python manage.py runserver
>
> returns:
>
> Validating models...
> 0 errors found
> August 19, 2014 - 02:19:03
> Django version 1.6.5, using settings 'mysite.settings'
> Starting development server at http://127.0.0.1:8000/
> Quit the server with CONTROL-C.
>
> but 127.0.0.1:8000 shows no data in Chrome.
>
> Thanks for the help
>
>  --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/13f29c35-56bb-455e-b7dc-68d2f160c82e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEE%2BrGrz1Ocwbb4X3WKv2P0-%2Bd2aqO1%3DDbat%3DccEe2BbXyTneQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.