这个错误大概率是端口冲突, 这里不再赘述。具体(参考https://www.cnblogs.com/zhengdongdong/p/12001152.html)
我这边的原因是运行端口在被排除端口范围中(参考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=tcpnet stop winnat netsh interface ipv4 show excludedportrange protocol=tcp net start winnat netsh interface ipv4 show excludedportrange protocol=tcp 标签:http,netsh,show,loopback,tcp,访问,ipv4,interface,protocol From: https://www.cnblogs.com/xiangweisareas/p/17404536.html