How to 'clear' the port when restarting django runserver

前端 未结 19 2148
盖世英雄少女心
盖世英雄少女心 2020-12-12 11:23

Often, when restarting Django runserver, if I use the same port number, I get a \'port is already in use\' message. Subsequently, I need to increment the port number each t

19条回答
  •  爱一瞬间的悲伤
    2020-12-12 12:02

    Type fg in the terminal to bring up the background task to the foreground.

    Press Ctrl+C to close/stop the running server.

提交回复
热议问题