> 技术文档 > nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: 80端口被占用

nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: 80端口被占用

Nginx启动报错:nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)

这个报错代表80端口被占用

先查看占用80的端口

netstat -aon | findstr :80

把它杀掉,强制结束

taskkill /PID 22104 /F

这样就没有了,我们再去执行exe

解决了!!!