코딩/Python
[Python] Apple Mac OS Flask 실행 시 5000 port 중복 오류 해결 (with. AirPlay Receiver)
코딩왕 코주부
2022. 8. 8. 23:46
반응형
안녕하세요 코딩왕 코주부입니다.
Macbook에서 파이썬 flask app 실행 시 발생하는
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.
에러입니다.
5000번 포트가 'AirPlay Receiver' service의 포트와 중복되었다네요.
해결 방법은 간단합니다.
Macbook → 시스템 환경설정 → AirPlay 수신 모드
AirPlay 수신 모드 해제
수신 모드 체크를 해제하면 끝!!
이제는 에러 발생 안하는 것 보이시죠~?
쉽게 해결하였습니다^^
참 쉽죠~?!

반응형