Allow external access through a firewall to Django on Windows

I want to allow external access to my website which is hosted by Django (development server) on Windows 7. To start the server on port 8000, I enter:

python manage.py runserver 0.0.0.0:8000

      

If I disable Windows Firewall, it can be accessed externally. However, turning on the firewall means that it cannot be accessed from the outside.

So, I tried adding an "Inbound Rule" in "Control Panel \ System and Security \ Windows Firewall \ Advanced Settings". Here I have allowed incoming TCP access on port 8000.

However, my site still cannot be accessed from the outside. What else do I need to do?

+3


source to share





All Articles