Django 0.0.0.0:80; can't access remotely

后端 未结 7 2102
孤街浪徒
孤街浪徒 2020-12-15 04:28

I\'m trying to access my Django server from another computer on the same network. I\'ve set up my server and can view everything correctly usingpython manage.py runse

7条回答
  •  一向
    一向 (楼主)
    2020-12-15 05:18

    In order for it to work for me, I ran sudo python manage.py runserver 0.0.0.0:80 in terminal (Mac OS X 10.8.2), and then in your ipad (or iphone) browser, go to http://[your ip address]/. I didn't have to do this: Testing Django website on iphone

    To find the IP address on a Mac

提交回复
热议问题