Django 0.0.0.0:80; can't access remotely

后端 未结 7 2095
孤街浪徒
孤街浪徒 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:04

    From your mention of forwarding port 80, it sounds like your second computer is on a different network (router) from the one running Django. In that case, you should browse to the IP of the Django network's router - the 192.168 address is only visible from behind that router, and port forwarding will ensure that your request goes to the right machine.

提交回复
热议问题