When switching to debug=False I had also problems connecting my debug-server. For me I had to specify the server IP-address in the settings:

ALLOWED_HOSTS = ['localhost', '127.0.0.1', '192.168.1.21']


Maybe this helps.


Kai



Am 16.07.2015 um 20:28 schrieb John :
try:

python manage.py [::]:8001

django will accept any requests on that port (localhost:8001, 127.0.0.1:8001, 192.168.0.102:8001)

On Jul 16, 2015, at 3:26 PM, tdthoma...@gmail.com <mailto:tdthoma...@gmail.com> wrote:

Sadaf,

Thanks for your reply. To be clear, my objective is to run tests with other computers behind my firewall. Hence the 192.168.0.102 address which will only work on my local network.

I tried your idea of specifying 0.0.0.0:8000, but that did not work. The development server still runs with 127.0.0.1:8000.


  The django documentation in the section, "django-admin and
  manage.py" indicates that:
  
<https://docs.djangoproject.com/en/1.8/ref/django-admin/#django-admin-and-manage-py>


  python manage.py runserver 192.168.0.102:8001

should work, but it does not.  It did work for me earlier on the
same machine using Django 1.7.

Thanks.

--
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 <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto: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/c2239e5c-55dd-4b09-82c2-8c5596c555e9%40googlegroups.com <https://groups.google.com/d/msgid/django-users/c2239e5c-55dd-4b09-82c2-8c5596c555e9%40googlegroups.com?utm_medium=email&utm_source=footer>.
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 <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto: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/D33E5C74-8F38-4E63-84A7-9087CDF28C20%40me.com <https://groups.google.com/d/msgid/django-users/D33E5C74-8F38-4E63-84A7-9087CDF28C20%40me.com?utm_medium=email&utm_source=footer>.
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/55A8205B.8000400%40gmx.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to