Django runserver error when specifying port

后端 未结 4 483
粉色の甜心
粉色の甜心 2021-02-04 05:06

I have recently become accustomed to doing the following in my django projects so that I can test bowser compatibility on various OS (i.e. non-linux):

$ sudo ./m         


        
4条回答
  •  北海茫月
    2021-02-04 05:14

    Run
    manage.py runserver 0.0.0.0:8000
    ie. run the server in different port and not the default port 80
    while accessing the url use the port number

提交回复
热议问题