Re: Trouble Starting Up with runserver

2009-05-10 Thread Chris DPS

ping localhost seemed fine,
4 sent and 4 received, 0ms, 0% loss

I have tried 127.0.0.1:8000, :8000, 0.0.0.0:8000, 127.0.0.1:others


On May 10, 9:52 pm, Addy Yeow  wrote:
> What does 'ping localhost' in command-prompt tells you?Did you try 'python
> manage.py runserver 127.0.0.1:8000'? Or 'python manage.py runserver :8000'
>
> - Addy
>
> On Mon, May 11, 2009 at 12:40 PM, Chris DPS  wrote:
>
> > So I've definitely shut off all Firewalls.
> > It still is having the same problem.
>
> > HELP!!! PLEASE
>
> > On May 10, 6:37 pm, Chris DPS  wrote:
> > > How to tell if I have a Firewall running?
> > > I have turned off Windows firewall. When I go to the Windows Security
> > > Center, the Firewall option is Green, as in 'on'.
> > > I looked for normal firewall products on my computer such as Symantec
> > > and couldn't find any active ones.
>
> > > How can find which firewall I'm using and shut it off.
>
> > > ---Chris DPS
>
> > > On May 8, 8:10 pm, Addy Yeow  wrote:
>
> > > > Do you have firewall running?It could be blocking incoming local
> > connection
> > > > to port 8000.
>
> > > > - Addy
>
> > > > On Sat, May 9, 2009 at 7:01 AM, Chris DPS 
> > wrote:
>
> > > > > I am new to Django.
>
> > > > > When I try to execute: python manage.py runserver, I get the
> > following
> > > > > error
>
> > > > > Error: [Errno 10104] getaddrinfo failed
>
> > > > > What is going on and what should I do?
>
> > > > > I am running Django Version 1.0.2-final and Python 2.6
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-10 Thread Addy Yeow
What does 'ping localhost' in command-prompt tells you?Did you try 'python
manage.py runserver 127.0.0.1:8000'? Or 'python manage.py runserver :8000'

- Addy

On Mon, May 11, 2009 at 12:40 PM, Chris DPS  wrote:

>
> So I've definitely shut off all Firewalls.
> It still is having the same problem.
>
> HELP!!! PLEASE
>
> On May 10, 6:37 pm, Chris DPS  wrote:
> > How to tell if I have a Firewall running?
> > I have turned off Windows firewall. When I go to the Windows Security
> > Center, the Firewall option is Green, as in 'on'.
> > I looked for normal firewall products on my computer such as Symantec
> > and couldn't find any active ones.
> >
> > How can find which firewall I'm using and shut it off.
> >
> > ---Chris DPS
> >
> > On May 8, 8:10 pm, Addy Yeow  wrote:
> >
> > > Do you have firewall running?It could be blocking incoming local
> connection
> > > to port 8000.
> >
> > > - Addy
> >
> > > On Sat, May 9, 2009 at 7:01 AM, Chris DPS 
> wrote:
> >
> > > > I am new to Django.
> >
> > > > When I try to execute: python manage.py runserver, I get the
> following
> > > > error
> >
> > > > Error: [Errno 10104] getaddrinfo failed
> >
> > > > What is going on and what should I do?
> >
> > > > I am running Django Version 1.0.2-final and Python 2.6
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-10 Thread Chris DPS

So I've definitely shut off all Firewalls.
It still is having the same problem.

HELP!!! PLEASE

On May 10, 6:37 pm, Chris DPS  wrote:
> How to tell if I have a Firewall running?
> I have turned off Windows firewall. When I go to the Windows Security
> Center, the Firewall option is Green, as in 'on'.
> I looked for normal firewall products on my computer such as Symantec
> and couldn't find any active ones.
>
> How can find which firewall I'm using and shut it off.
>
> ---Chris DPS
>
> On May 8, 8:10 pm, Addy Yeow  wrote:
>
> > Do you have firewall running?It could be blocking incoming local connection
> > to port 8000.
>
> > - Addy
>
> > On Sat, May 9, 2009 at 7:01 AM, Chris DPS  wrote:
>
> > > I am new to Django.
>
> > > When I try to execute: python manage.py runserver, I get the following
> > > error
>
> > > Error: [Errno 10104] getaddrinfo failed
>
> > > What is going on and what should I do?
>
> > > I am running Django Version 1.0.2-final and Python 2.6
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-10 Thread Chris DPS

How to tell if I have a Firewall running?
I have turned off Windows firewall. When I go to the Windows Security
Center, the Firewall option is Green, as in 'on'.
I looked for normal firewall products on my computer such as Symantec
and couldn't find any active ones.

How can find which firewall I'm using and shut it off.

---Chris DPS

On May 8, 8:10 pm, Addy Yeow  wrote:
> Do you have firewall running?It could be blocking incoming local connection
> to port 8000.
>
> - Addy
>
> On Sat, May 9, 2009 at 7:01 AM, Chris DPS  wrote:
>
> > I am new to Django.
>
> > When I try to execute: python manage.py runserver, I get the following
> > error
>
> > Error: [Errno 10104] getaddrinfo failed
>
> > What is going on and what should I do?
>
> > I am running Django Version 1.0.2-final and Python 2.6
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-08 Thread Addy Yeow
Do you have firewall running?It could be blocking incoming local connection
to port 8000.

- Addy

On Sat, May 9, 2009 at 7:01 AM, Chris DPS  wrote:

>
> I am new to Django.
>
> When I try to execute: python manage.py runserver, I get the following
> error
>
> Error: [Errno 10104] getaddrinfo failed
>
> What is going on and what should I do?
>
> I am running Django Version 1.0.2-final and Python 2.6
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-07 Thread Chris DPS



On May 7, 11:23 am, Phil Mocek 
wrote:
> On Thu, May 07, 2009 at 12:49:28PM -0500, Tim Chase wrote:
> > > was searching for "interface" or "IP address" but the tutorial
> > > says -- incorrectly or colloqially, depending on how you see
> > > things -- "So to listen on all public IPs (useful if you want
> > > to show off your work on other computers), use:".  There's no
> > > such thing as a "public IP".
>
> > I suspect the intent is "external IP" compared to an internal IP
> > (localhost/127.0.0.1).
>
> I agree.
>
> What makes the tutorial technically incorrect, and what prevents
> someone who seeks information about using the 0.0.0.0 IP address
> from finding that passage using reasonable search terms, is its
> omission of the word "address".  The subject at hand is an
> address, not a protocol, yet what was written is "public IP" not
> "public IP address".  This is fine for casual conversation, but --
> for reasons including that which was discovered in this discussion
> -- not for a technical tutorial whose target audience is software
> developers.
>
> --
> Phil Mocek

Sorry for the confusion.
I have definitely tried it listening only to localhost (i.e. running
python manage.py runserver without additional arguments)

My question is mainly about reasons why the very basic python
manage.py runserver doesn't work
and creates the error 10104 getaddrinfo failed

I only mentioned 0.0.0.0:8000 because this was suggested on a separate
thread as a solution (and it worked for the guy asking). It does not
work for me.

It is something wrong with my computer (and I really don't think I
have any Firewall active - not entirely certain, but pretty sure). I
just did the same setup on a different computer and it is working, but
I need it to work on my own.

Any ideas?
Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-07 Thread George Song

On 5/7/2009 11:23 AM, Phil Mocek wrote:
> On Thu, May 07, 2009 at 12:49:28PM -0500, Tim Chase wrote:
>>> was searching for "interface" or "IP address" but the tutorial
>>> says -- incorrectly or colloqially, depending on how you see
>>> things -- "So to listen on all public IPs (useful if you want
>>> to show off your work on other computers), use:".  There's no
>>> such thing as a "public IP".
>> I suspect the intent is "external IP" compared to an internal IP 
>> (localhost/127.0.0.1).
> 
> I agree.
> 
> What makes the tutorial technically incorrect, and what prevents
> someone who seeks information about using the 0.0.0.0 IP address
> from finding that passage using reasonable search terms, is its
> omission of the word "address".  The subject at hand is an
> address, not a protocol, yet what was written is "public IP" not
> "public IP address".  This is fine for casual conversation, but --
> for reasons including that which was discovered in this discussion
> -- not for a technical tutorial whose target audience is software
> developers.

This is good clarification. It would be great if one of you can open a 
ticket and supply a patch.

-- 
George

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-07 Thread Phil Mocek

On Thu, May 07, 2009 at 12:49:28PM -0500, Tim Chase wrote:
> > was searching for "interface" or "IP address" but the tutorial
> > says -- incorrectly or colloqially, depending on how you see
> > things -- "So to listen on all public IPs (useful if you want
> > to show off your work on other computers), use:".  There's no
> > such thing as a "public IP".
> 
> I suspect the intent is "external IP" compared to an internal IP 
> (localhost/127.0.0.1).

I agree.

What makes the tutorial technically incorrect, and what prevents
someone who seeks information about using the 0.0.0.0 IP address
from finding that passage using reasonable search terms, is its
omission of the word "address".  The subject at hand is an
address, not a protocol, yet what was written is "public IP" not
"public IP address".  This is fine for casual conversation, but --
for reasons including that which was discovered in this discussion
-- not for a technical tutorial whose target audience is software
developers.

-- 
Phil Mocek

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-07 Thread Tim Chase

> was searching for "interface" or "IP address" but the tutorial
> says -- incorrectly or colloqially, depending on how you see
> things -- "So to listen on all public IPs (useful if you want
> to show off your work on other computers), use:".  There's no
> such thing as a "public IP".

I suspect the intent is "external IP" compared to an internal IP 
(localhost/127.0.0.1).  By default Django only listens on 
localhost ("private" or "internal").  If your machine is 
multi-homed (has multiple IP addresses such as a dialup, aircard, 
VPN, LAN, wireless, etc), you can specify that Django listens on 
a single address such as 192.168.1.99 (which should be bound to a 
single interface).  If you specify 0.0.0.0 Django will listen on 
any interfaces/IP-address.  These latter cases would be "public" 
or "external".

-tim




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-07 Thread Phil Mocek

On Thu, May 07, 2009 at 09:01:01AM -0700, donarb wrote:
> On May 7, 8:43 am, Phil Mocek wrote:
> > This, unfortunately, is not explained in the runserver
> > documentation [1] or the admin utility's built-in help.  The
> > only place I've found it documented is in chapter two of The
> > Django Book [2].
> 
> It is also documented in the tutorial:
> 
> http://docs.djangoproject.com/en/dev/intro/tutorial01/#creating-a-project

Thanks.  I plan to open a ticket for an update to the documentation
if one doesn't already exist.  I'll add this information.

I missed this mention of 0.0.0.0 because I was searching for
"interface" or "IP address" but the tutorial says -- incorrectly or
colloqially, depending on how you see things -- "So to listen on all
public IPs (useful if you want to show off your work on other
computers), use:".  There's no such thing as a "public IP".

-- 
Phil Mocek

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-07 Thread donarb

On May 7, 8:43 am, Phil Mocek 
wrote:
> This, unfortunately, is not explained in the
> runserver documentation [1] or the admin utility's built-in help.
> The only place I've found it documented is in chapter two of The
> Django Book [2].

It is also documented in the tutorial:

http://docs.djangoproject.com/en/dev/intro/tutorial01/#creating-a-project

Don



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-07 Thread Phil Mocek

On Thu, May 07, 2009 at 07:17:08AM -0700, John Crawford wrote:
> I'm not sure why your address is all zeros, did you give a
> specific host number parameter to runserver?

That causes the development server to listen on all available
network interfaces.  This, unfortunately, is not explained in the
runserver documentation [1] or the admin utility's built-in help.
The only place I've found it documented is in chapter two of The
Django Book [2].  This is not Django-specific, as RFC 3330
("Special-Use IPv4 Addresses") [3] defines addresses in the
0.0.0.0/8 block as referring to "source hosts on `this' network",
but it seems that it would be helpful to note this in the Django
docs for people who are unfamiliar with this convention.

> Generally 127.0.0.0:8000 would be your localhost

That would cause the development server to listen on port 8000 of
whatever interface uses 127.0.0.0.  The hostname "localhost" [4]
typically resolves to 127.0.0.1, the address of the loopback
interface [5].


References:

[1]: 
[2]: 
[3]: 
[4]: 
[5]: 

-- 
Phil Mocek

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-07 Thread John Crawford

Arg - I meant 127.0.0.1:8000

Is there a way to edit messages that I dont see here? :)

John C>

On May 7, 10:17 am, John Crawford  wrote:
> I'm not sure why your address is all zeros, did you give a specific
> host number parameter to runserver?
>
> Generally 127.0.0.0:8000 would be your localhost, and that is the
> default for runserver. Use that instead (or don't give it any
> parameters), see what happens.
>
> John C>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Trouble Starting Up with runserver

2009-05-07 Thread John Crawford

I'm not sure why your address is all zeros, did you give a specific
host number parameter to runserver?

Generally 127.0.0.0:8000 would be your localhost, and that is the
default for runserver. Use that instead (or don't give it any
parameters), see what happens.

John C>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---