设为首页 加入收藏

TOP

安装完sql server2008后系统80端口被占用问题
2014-11-24 01:39:16 来源: 作者: 【 】 浏览:4
Tags:安装 sql server2008 系统 占用 问题
安装完sql server2008后 系统80端口被占用问题
原来电脑上XAMPP中的Apache一直使用正常,在安装sql server2008后,突然发现Apache无法启动,报如下错误:
Error: Apache shutdown unexpectedly.
8:45:50 [Apache] This may be due to a blocked port, missing dependencies,
8:45:50 [Apache] improper privileges, a crash, or a shutdown by another method.
8:45:50 [Apache] Check the "/xampp/apache/logs/error.log" file
8:45:50 [Apache] and the Windows Event Viewer for more clues
因为Apchce部署了应用程序,默认给它设置分配了80端口,第一反应可能是80端口被占用了。
解决方案:
1.先用命令 netstat -ano 看一下各个端口占用和进程PID(80端口是被3296占用) 。
2.然后在任务管理器里,查看进程。(注意:默认情况下,进程的PID是不显示的,你在菜单的查看->选择列里可以选上PID来显示)
最后排查到是一个名叫“sql server reporting services”的原因,于是乎把这个停掉或禁用就行了,反正用了SQL Server这么久,也没用过这个功能。
PS:80端口这次被sql server reporting services服务占用是引发该问题的直接原因,当然,IIS占用80端口也是导致80端口被占用的常见原因,笔者的另一编博客也有描述是因为IIS占用80端口的文章,分析过程一致。
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇SQL中列转行的实现 下一篇查看sql语句的执行时间

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: