bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its
在服务器装有sql数据库和IIS的情况下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)是因为80端口被占用cmd中输入netstat -aon | findstr :80查看
在服务器装有sql数据库和IIS的情况下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)
是因为80端口被占用
cmd中输入netstat -aon | findstr :80查看占用的PID,如果PID不为4,则输入tasklist|findstr “占用的PID”,然后在任务管理器中去找到对应的PID并停止掉即可
如果PID为4,则进入任务管理器-服务-打开服务找到SQL Server Reporting Services (MSSQLSERVER)停止,然后再次启动nginx,如成功再回来启动SQL Server Reporting Services (MSSQLSERVER)即可;如不成功同时停止SQL Server Reporting Services (MSSQLSERVER)和IIS,然后再启动nginx即可,最后依次启动SQL Server Reporting Services (MSSQLSERVER)和IIS即可
更多推荐
所有评论(0)