Re: Accessing django development server from internet!
Keep in mind that the Django development server is designed neither for security nor performance, so under no circumstances should you use it as a production server. With that said, assuming you're using this for development purposes, change your manage.py runserver command to bind to the address 0.0.0.0. E.g:
$ python manage.py runserver 0.0.0.0
This should make is available to your local network (if not, you may need to add the machines your accessing it from to your INTERNAL_IPS setting). To make it available over the internet (not suggested!) you'll need to configure your router.
_Nik
On 5/7/2013 8:43 AM, Kakar wrote:
I have my project in my pc, and on python manage.py runserver, i can view it on my browser. But how to view from other computer or on the internet and not locally?... How to make my pc a server to view it from over the internet? Plz help me guyz!
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home