OS
윈도우10 hyperv 포트점유, 인텔리제이 에러 등등 시 수정사항
아라한사
2021. 3. 5. 11:37
@veqryn the workaround worked for me, the steps are:
-
Disable hyper-v (which will required a couple of restarts)
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V -
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 -
Re-Enable hyper-V (which will require a couple of restart)
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
when your system is back, you will be able to bind to that port successfully.
github.com/docker/for-win/issues/3171#issuecomment-459205576