
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
Flask 서버 종료 관련 문의 드립니다.
화성땅 실습과정 시행 직전에 서버를 종료하여 http://localhost:5000를 안열리는 상태로 만드는 중인데 사진과 같이 주의 문구가 나옵니다.
컨트롤+C를 누르면 일시적으로 동작은 하는데 다시 디버깅 메세지가 뜨면서 페이지도 그대로 살아있네요.
어떻게 하면 진행할 수 있는지 궁금합니다.

작성한 코드 및 에러 메세지
from flask import Flask, render_template, request, jsonify
app = Flask(__name__)
@app.route('/')
def home():
return render_template('index.html')
@app.route('/test', methods=['POST'])
def test_post():
title_receive = '블랙팬서'
print(title_receive)
return jsonify({'result':'success', 'msg': '이 요청은 POST!'})
if __name__ == '__main__':
app.run('0.0.0.0',port=5000,debug=True)
Press CTRL+C to quit
* Restarting with stat
* Debugger is active!
* Debugger PIN: 118-354-846
(venv)
82108@LAPTOP MINGW64 ~/Desktop/sparta/projects/01.prac
$ c:/Users/82108/Desktop/sparta/projects/01.prac/venv/Scripts/python.exe c:/Users/82108/Desktop/sparta/projects/01.prac/app.py
* Serving Flask app 'app'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://192.168.20.123:5000
Press CTRL+C to quit
* Restarting with stat
* Debugger is active!
* Serving Flask app 'app'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://192.168.20.123:5000
Press CTRL+C to quit
* Restarting with stat
* Debugger is active!
* Debugger PIN: 118-354-846
127.0.0.1 - - [13/Feb/2023 21:55:04] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [13/Feb/2023 21:55:06] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [13/Feb/2023 21:55:18] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [13/Feb/2023 21:57:31] "GET / HTTP/1.1" 200 -
