启动Nginx查看错误日志报如下错误:
924#5500: 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端口已经被占用。
解决办法:
打开配置文件:nginx.conf。重新设置一个端口。
或者把80端口占用的服务关掉。
启动Nginx查看错误日志报如下错误:
924#5500: 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端口已经被占用。
解决办法:
打开配置文件:nginx.conf。重新设置一个端口。
或者把80端口占用的服务关掉。