Development Server Ignores IP-address Parameter

2015-07-15 Thread tdthomas93
For some reason, my Django Development Server ignores the IP:Port parameter 
when I start it. No matter what I enter for that parameter, it always uses 
127.0.0.1:8000.  I think (but am not sure) this started happening when I 
upgraded from Django-1.7 to Django-1.8.2.

I am running on Slackware Linux, I have not noticed this problem until
recently.  It definitely worked correctly several months ago.

At the bottom of this message, I show how I launch the server,
and the response it gives in my console. No matter what IP:Port
I request, I always get 127.0.0.1:8000.

How can I fix this problem?

Thanks.

I start the development server with the following command:

  % python  manage.py runserver  192.168.0.102:8001

The following reply appears on the console:

  /usr/local/lib/python3.3/importlib/_bootstrap.py:313: 
RemovedInDjango19Warning: django.utils.importlib will be removed in Django 
1.9.
  return f(*args, **kwds)

  Performing system checks...

  System check identified no issues (0 silenced).
  July 15, 2015 - 17:45:10
  Django version 1.8.2, using settings 'app3.settings'
  Starting development server at http://127.0.0.1:8000/
  Quit the server with CONTROL-C.


-- 
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/a695a746-618a-46a2-a216-180577e829ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Development Server Ignores IP-address Parameter

2015-07-16 Thread tdthomas93
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: 

  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.
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/c2239e5c-55dd-4b09-82c2-8c5596c555e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.