왜인지는 모르겠지만 Session Manager로 인스턴스와 연결할 때 8080가 이미 사용중이라는 메시지가 뜬다!
새로운 서버를 위해 이 놈을 과감하게 죽여버리기로 했다!! (🔫쵹)
net-tools 설치해야 netstat 사용 가능!
(1)
netstat -tnlp | grep 8080
(2)
kill -9 [PID]
netstat와 grep으로 8080 포트를 사용 중인 포트를 찾아서, kill -9(-9는 강제종료)를 통해 포트를 죽여버렸다.
netstat과 grep을 썼는데 아무 것도 뜨지 않는다면,
ps -ef | grep []
ps -ef를 통해 프로세스 중 서버를 실행시키고 있는 놈을 찾아서 kill 해버리면 해결!
'🚨ERROR🚨' 카테고리의 다른 글
Github Actions - build: buildError: Gradle script '...' is not executable. (0) | 2022.12.08 |
---|---|
AWS CodePipeline에서 Deploy 실패 (0) | 2022.12.07 |
Docker <none> 이미지 삭제 (0) | 2022.12.06 |
zsh: command not found: nvm (0) | 2022.12.05 |
constructor * in class * cannot be applied to given types (0) | 2022.12.02 |