Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

How are you running the server?
Have you tried something like this?

manage.py runserver 0.0.0.0:8080 

From the documentation:

Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. 192.168.2.1) or 0.0.0.0.

0.0.0.0 means: bind to all IP addresses this computer supports. So, as TheSingularity saysTheSingularity says, you'll then be able to access your Django app by entering the private IP address usually beginning with 192.168.*; which is not accessible from the Internet.

How are you running the server?
Have you tried something like this?

manage.py runserver 0.0.0.0:8080 

From the documentation:

Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. 192.168.2.1) or 0.0.0.0.

0.0.0.0 means: bind to all IP addresses this computer supports. So, as TheSingularity says, you'll then be able to access your Django app by entering the private IP address usually beginning with 192.168.*; which is not accessible from the Internet.

How are you running the server?
Have you tried something like this?

manage.py runserver 0.0.0.0:8080 

From the documentation:

Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. 192.168.2.1) or 0.0.0.0.

0.0.0.0 means: bind to all IP addresses this computer supports. So, as TheSingularity says, you'll then be able to access your Django app by entering the private IP address usually beginning with 192.168.*; which is not accessible from the Internet.

added 254 characters in body; added 124 characters in body
Source Link
mechanical_meat
  • 170.4k
  • 25
  • 237
  • 231

How are you running the server?
Have you tried something like this?

django-adminmanage.py runserver 0.0.0.0:8080 

From the documentation:

Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. 192.168.2.1) or 0.0.0.0.

0.0.0.0 means: bind to all IP addresses this computer supports. So, as TheSingularity says, you'll then be able to access your Django app by entering the private IP address usually beginning with 192.168.*; which is not accessible from the Internet.

How are you running the server?
Have you tried something like this?

django-admin.py runserver 0.0.0.0 

From the documentation:

Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. 192.168.2.1) or 0.0.0.0.

How are you running the server?
Have you tried something like this?

manage.py runserver 0.0.0.0:8080 

From the documentation:

Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. 192.168.2.1) or 0.0.0.0.

0.0.0.0 means: bind to all IP addresses this computer supports. So, as TheSingularity says, you'll then be able to access your Django app by entering the private IP address usually beginning with 192.168.*; which is not accessible from the Internet.

Source Link
mechanical_meat
  • 170.4k
  • 25
  • 237
  • 231

How are you running the server?
Have you tried something like this?

django-admin.py runserver 0.0.0.0 

From the documentation:

Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. 192.168.2.1) or 0.0.0.0.