Win7的80端口默认是被System进程占用的
用如下方法可以解决System进程占用80端口的问题:
打开RegEdit:
找到HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/HTTP
找到一个DWORD值Start,将其改为0
重启电脑,System进程将不会占用80端口
============================================
新装了win7后,在启动Apache的时候,总是启动失败,查看80端口,被pid=4的进程占用,打开任务管理器,发现pid=4的进程居然是个系统进程!
尝试终结此进程,结果是蓝屏。
原文:
I work on Http.sys technology at Microsoft and somebody sent me a link to this blog. I am a bit surprised by this behavior you are seeing on Windows7 Beta and with some help from you, I will like to find out the root cause of this issue so that we can take the appropriate action if needed.
You are right, Http.sys uses port 80. It is the driver component for httpapi, the server http stack (You can find more info on this technology at http://msdn.microsoft.com/en-us/library/aa364434(VS.85).aspx ). In your case, some application is running which is using http.sys to listen on port 80. This is preventing Apache from using port 80. We offer a mechanism for applications to help control port sharing but I’ll need to look into the specific application that’s causing you this conflict. If you can give us the output of following command “netsh http show servicestate”, then it will allow me to find out which application is using http.sys. Since you have disabled http.sys, please follow these steps listed below before running the command:
1. sc config http start= demand
2. Reboot
3. Run the command (netsh http show servicestate) as administrator
After you have run this command, you can disable http.sys as follows:
1. net stop http
2. Sc config http start= disabled
Please let me know if you face any issues in the process.
Thanks,
Niranjan
分享到:
相关推荐
解决IIS和tomcat 80端口问题!
window server 2008 r2 iis80端口+tomcat8080端口配置过程,亲测可以,有问题留言
tomcat 和iis 80端口共用 tomcat iis 80 8080
修改Tomcat或者 MyEclipse自带的Tomcat 的端口号两种形式
Tomcat默认访问端口为8080,修改成为默认的80端口可以直接访问而不用再输入:8080
iis7通过jk整合tomcat7共用80端口
轻松配置,让iis和tomcat共用80端口
frp+nginx实现内网穿透,多个tomcat共用80,配备详细说明文档,可自行查看。看不懂可以留言
绿色版的Tomcat7.0 端口已改为9090 已经测试过的,本人经常用
1、根据需要将脚本中的端口号更改 2、tomcat目录格式 tomcat-端口号
自己总结的tomcat端口号修改,项目部署。给客户总结的文档。
jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip 修改版jk2.rar How To Configure IIS 7.0 and Tomcat with the JK 1.2 Connector How To Install Apache Tomcat with IIS 6.0 » IIS Admin Blog.mht setupJk204t6...
如何在Windows 7中修改Tomcat的端口号 txt 欢迎下载
本文介绍了解决Linux下Oracle Tomcat 8080端口冲突的方法。
tomcat和IIS80端口冲突解决方法,如果有的需要下载的可以用
详细图解介绍IIS6与Tomcat6的整合配置过程,并对配置过程中可能出现的问题(如不能加载jakarta,出现函数不正确)进行解决,下面我们就一起看下详细的配置步骤吧
iis 和tomcat共享80端口的通讯dll文件,这个非常重要。
java获取tomcat端口.doc
本样例说明:weblogic部署应用程序后,集成3个Tomcat服务,自动分配tomcat服务,使用tomcat的80端口访问应用程序。含详细的说明文档,并提供相关的工具、和用到的插件。