摘要:
一直启动不了nginx ,于是看错误日志:[emerg] 4376#4256: 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端口Windows平台在windows命令行窗口下执行:C:\>netstat -aon|findstr "80"TCP 127.0.0.1:80 0.0.0 阅读全文