解决办法
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.
参考
本条目发布于[2020年5月28日](https://c4ys.com/archives/2219 "11:12")。属于[Uncategorized](https://c4ys.com/archives/category/uncategorized)分类,被贴了 [IntelliJ](phpstorm(https://c4ys.com/archives/tag/phpstorm) 标签。