Unable to bind to http://localhost:xxxx on the IPv4 loopback interface: '以一种访问权限不允许的方式做了一个访问套接字的尝试。
我这边的原因是运行端口在被排除端口范围中(参考https://gsw945.com/index.php/archives/33/) cmd运行
netsh interface ipv4 show excludedportrange protocol=tcp
可以查看范围。然后重启netstat服务即可解决
net stop winnat netsh interface ipv4 show excludedportrange protocol=tcp net start winnat netsh interface ipv4 show excludedportrange protocol=tcp