Вопрос

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top