
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
from flask import Flask
app = Flask(__name__)
@app.route('/')
def home():
return 'This is Home!'
if __name__ == '__main__':
app.run('0.0.0.0',port=5000,debug=True)
ㅋ코드스니펫 복붙했는데, 에러 메세지 뜨고,
라고 치면, 아래 에러 메세지 뜹니다
You don't have authorization to view this page.HTTP ERROR 403
"/Users/kaelynseok/Desktop/sparta 연습/projects/prac/venv/bin/python" /Users/kaelynseok/Desktop/sparta 연습/projects/prac/app.py
* Serving Flask app 'app'
* Debug mode: on
Address already in use
Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port.
On macOS, try disabling the 'AirPlay Receiver' service from System Preferences -> Sharing.
종료 코드 1(으)로 완료된 프로세스
