升级win10 ,apache 80端口被占用
2017-02-10 17:39
197 查看
ntoskrnl.exe占用80端口
80端口被NT kernel & System 占用pid 4
系统和压缩内存 NT Kernel 占用80
1、找到cmd.exe 右击菜单,超级管理员 打开
2、运行net stop http
3、Y
4、Sc config http start= disabled
5、netstat -ano
配置:
1、httpd.conf
(1)监听端口 Listen 80,注意是否设置为80
(2)DocumentRoot "E:\www"
(3)Include conf/extra/httpd-vhosts.conf //去掉注释,为开启
2、httpd-vhost.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin 243646899@qq.com
DocumentRoot "E:\www\xxxxx\Code\web\php"
ServerName www.xxxxx.com
ErrorLog "logs/www.xxxxx.com-error.log"
CustomLog "logs/www.xxxxx.com-access.log" common
</VirtualHost>
80端口被NT kernel & System 占用pid 4
系统和压缩内存 NT Kernel 占用80
1、找到cmd.exe 右击菜单,超级管理员 打开
2、运行net stop http
3、Y
4、Sc config http start= disabled
5、netstat -ano
配置:
1、httpd.conf
(1)监听端口 Listen 80,注意是否设置为80
(2)DocumentRoot "E:\www"
(3)Include conf/extra/httpd-vhosts.conf //去掉注释,为开启
2、httpd-vhost.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin 243646899@qq.com
DocumentRoot "E:\www\xxxxx\Code\web\php"
ServerName www.xxxxx.com
ErrorLog "logs/www.xxxxx.com-error.log"
CustomLog "logs/www.xxxxx.com-access.log" common
</VirtualHost>
相关文章推荐
- apache ab命令 压力测试
- ubuntu搭建LAMP,PHP,apache,mysql
- 【Apache ZooKeeper】官方文档
- 【Apache ZooKeeper】理解ZooKeeper中的ZNodes
- java.lang.UnsatisfiedLinkError:org.apache.hadoop.util.NativeCrc32.nativeComputeChunkedSumsByteArray
- 开源许可证GPL、BSD、MIT、Mozilla、Apache和LGPL的区别
- apache geode 分布式之总体概述
- Apache Spark探秘:多进程模型还是多线程模型?
- Apache Ant安装 验证
- Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : U
- apache-ab 并发负载压力测试
- Java使用Apache的FileUpload组件进行文件上传
- 简单的性能测试 | Apache AB
- php apache 和mysql查看版本常用方法收集
- windows下配置php、Apache、mysql环境踩过的坑
- apache基本配置管理三:企业中常见基于repo的apache服务环境搭建
- 如何使用 Apache Web 服务器配置多个站点
- 如何使用 Apache 构建 URL 缩短服务
- apache2三种模式及参数调优
- Apache源码编译安装