Non local connections for django project server
-
01-10-2020 - |
سؤال
I ran the command python manage.py runserver 0.0.0.0:8000
It started the server up, but when I navigate to http://myipaddress:8000, my webbroswer doesnt connect. I also tried with my iphone safari brower and got the same thing.
I am using Mac OS X 10.6 and am connect to the the internet through my router.
Any suggestions on how to allow non-local connections so my friends can try out my project?
المحلول
1) check your firewall 2) make sure your router forwards connections on port 8000 to your computer
لا تنتمي إلى StackOverflow