nginx启动报错,nginx默认80端口被占用解决方案

在win7 32位下,启动nginx,显示如下错误:
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)   
1、打开注册表:regedit
2、找到:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP
3、找到一个REG_DWORD类型的项Start,将其改为0
4、重启系统

你可能感兴趣的:(Nginx)