Access from external to python development server

前端 未结 2 1617
天命终不由人
天命终不由人 2021-02-14 02:50

I can\'t access externally to python development server, I have a very small django project running on my machine, and now I want to enable computers in the same LAN have access

2条回答
  •  独厮守ぢ
    2021-02-14 03:02

    run your django app like this:

    ./manage.py runserver 0.0.0.0:8800 
    

    you can access now your project from other machine like this:

    http://:8800
    

提交回复
热议问题