I am learning Django and have deployed apps on my iMac locally. I want to show the apps from external IPs over the internet. I did add an exception to the firewall for port 8000, and ran the python dev server over 8000. Able to access at localhost, but not over the net. However, when I tried XAMPP (Apache) over the same port 8000, I can access the site externally, despite needing to change the httpd-xampp.conf
file. Is there a similar file for the python server? How can I access the dev server from external IP's?
Environment: Mac OSX 10.5.8, Python 2.5, Django 1.2.5
Thanks in advance!
python manage.py runserver 0.0.0.0:8000
This will make it listen to any address. Quite useful when you want to develop over ssh from a machine that you cannot install stuff on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With