About IP 0.0.0.0 in Django

Viewed 39064

We've got a server over which we're running a Django powered site. Since we want to test the site, we're using Django's build-in development server (i.e runserver). But I'm curious about the ip of the following command:

python manage.py runserver 0.0.0.0:80

It results in a running site we can visit using server's ip remotely.
But when using 127.0.0.1 instead:

python manage.py runserver 127.0.0.1:80

No one can visit the site with the sever's ip from another pc.

So why? What does 0.0.0.0 exactly means (Google says it's the default route) ? Why can't 127.0.0.1:80 be accessed remotely?

3 Answers
Related