nginx服務無法啓動,啓動時報錯1067以外終止

解決方法: 首先cmd命令打開,輸入nginx -t測試配置文件是否能運行OK,如果報錯bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a …) 則說明配置文件中的端口0.0.0.0:80被佔用 可使用下面兩種方法解決: cmd輸入netstat -aon | findstr :80 ** 查找端口0.0.0.0:
相關文章
相關標籤/搜索