Wednesday, March 28, 2012

Re: IE9+Django,Don't respond or Socket error!!!

On Mon, Mar 26, 2012 at 11:31 PM, br <roberts81@gmail.com> wrote:
2) If you want to use the runserver that comes with django:
- to run runserver, use "manage.py runserver 0.0.0.0:8000" instead of
the default (which goes to localhost or 127.0.0.1) , and then figure
out your computer's IP address in your intranet (ivarious ways to do
this, i use "ipconfig" from command line and pick the one that
probably starts with 192.168).  Then when you want to access your app,
do it at http://<your local ip address>:8000


To make things easier, create a free host redirect on no-ip.org[1] and name it something like 'mydjangoserver.no-ip.org', then install the No-IP service for automatically updating the redirect to match your current IP (on a defined interval, which I usually set for 30 mins). This way you can always point to http://mydjangoserver.no-ip.org regardless of which network you're currently on. Helps if you're on the go often, or if you've got a dynamic IP (my original problem back when I started using it).


Cheers,
AT



--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment