win11下启动服务报告没有权限监听端口 2023-10-05 作者 C3P00 [Nest] 26516 – 2023/10/05 13:07:06 ERROR [NestApplication] Error: listen EACCES: permission denied 0.0.0.0:3000 +2msError: listen EACCES: permission denied 0.0.0.0:3000 其实不是端口的问题而是 winnat,重启就好: net stop winnat net start winnat 效果如下图:
[Nest] 26516 – 2023/10/05 13:07:06 ERROR [NestApplication] Error: listen EACCES: permission denied 0.0.0.0:3000 +2ms
Error: listen EACCES: permission denied 0.0.0.0:3000
其实不是端口的问题而是 winnat,重启就好:
net stop winnat
net start winnat
效果如下图: