binchoo / spring-boot-210523

스프링 부트와 AWS로 혼자 구현하는 웹 서비스 정독하기
0 stars 0 forks source link

[IDE 오류] 인텔리제이 시작할 때: intellij start failed Address already in use: bind #16

Closed binchoo closed 3 years ago

binchoo commented 3 years ago

[이슈 내용] 인텔리제이 시작할 때, 해당 오류창 등장하여 시동되지 않는 현상.

[이슈 원인] 윈도우에서 도커가 존재할 때, Hyper-V가 포트를 점유한 현상.

binchoo commented 3 years ago

[해결 방법] https://week-year.tistory.com/137

  1. Window PowerShell을 연다.

  2. Disable hyper-v (which will required a couple of restarts) dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

  3. When you finish all the required restarts, reserve the port you want so hyper-v doesn't reserve it back netsh int ipv4 add excludedportrange protocol=tcp startport=50051 numberofports=1

  4. Re-Enable hyper-V (which will require a couple of restarts) dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All