在windows7下安装phpstudy时,发现80端口被占用。使用netstat -ano命令,发现系统进程 PID4占用了80端口。改了注册表和去掉IIS也没有用。最后发现是SQL Server Reporting service占用了。 把这个服务停掉就可以了,无需重启计算机。 转载于:https://blog.51cto.com/3154408/1971132