Cant Access Django development server with 0.0.0.0:8000
I am trying to run my Django app on a windows system with python manage.py runserver 0.0.0.0:8000
. But it doesnt runs in other systems. Following steps I have already followed:
- App runs in local system
- ALLOWED_HOSTS = ['*']
- I have disabled firewall completely
- I open incomming and outgoing connection for port 8000.
- Tried with
python manage.py runserver 192.xx.xx.xx:8000
Please suggest where am I missing.
Additional Note: I already tried and run the similar app in an ubuntu server and it works perfectly fine.
python manage.py runserver 127.100.10.2:8000
dont change the 127 others u can change
I have a Django app running in my small office with windows, follow this steps:
- Specify the server machine ip, example :
ALLOWED_HOSTS = ['192.168.1.1']
- Try with a different port, example:
python manage.py runserver 192.168.1.1:8082
- Then in your router/firewall, configure the proper port forwarding.