开发者

Non local connections for django project server

开发者 https://www.devze.com 2023-01-09 07:31 出处:网络
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 br

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 usi开发者_如何学运维ng 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

0

精彩评论

暂无评论...
验证码 换一张
取 消