启动Apache出现错误Port 80 in use by "Unable to open process" with PID 4!

22:15:30  [Apache] Problem detected!

22:15:30  [Apache] Port 80 in use by "Unable to open process" with PID 4!

22:15:30  [Apache] Apache WILL NOT start without the configured ports free!

22:15:30  [Apache] You need to uninstall/disable/reconfigure the blocking application

22:15:30  [Apache] or reconfigure Apache and the Control Panel to listen on a different port

错误提示:是由于系统的服务占用了80端口,要么结束系统服务,要么修改apache端口。

PID4的服务是World Wide Web Publishing Service

这里选择结束这个系统服务,运行services.msc,找到然后停止即可。防止下次开机再出现这种情况,在属性里可设置成手动启动。

原文地址:https://www.cnblogs.com/ainihaozhen/p/8536653.html

时间: 2024-10-10 04:26:16

启动Apache出现错误Port 80 in use by "Unable to open process" with PID 4!的相关文章

Xampp error:Port 80 in use by "Unable to open process" with PID 4

今天打开Apache的时候报错: Port 80 in use by "Unable to open process" with PID 4 通过点击与“Apache”模块同一行上的“Config”按钮,在下拉列表中选择“httpd.conf”文件,然后将“Listen 80”行更改为“Listen 8080”.保存文件并关闭它. 还要更改config - >服务和端口设置 - >将其更改为8080 问题就解决了. 原文地址:https://www.cnblogs.com/

Wamp Apache 启动不成功 Your port 80 is actually used by Server: Microsoft-IIS/7.5

Wamp  Apache 检测 80端口 提示 Your port 80 is actually used by  Server: Microsoft-IIS/7.5 解决方法: 按 Win+R 键 打开services.msc 找到 World Wide Web Publishing Service 服务,改为手动 win7 64位 解决问题!

安装XAMPP时启动Apache失败解决方法 xampp

我现在的XAMP版本是xampp-win32-1.8.3-1-VC11-installer(下载) Apache启动提示 10:33:43  [Apache]Problem detected! 10:33:43  [Apache]Port 80 in use by "Unable to open process" with PID 4! 10:33:43  [Apache]Apache WILL NOT start without the configured ports free!

Windows 安装启动apache时出现错误的解决方法

配置安装Apache主服务发生错误:(OS 5)拒绝访问.  : AH00369: Failed to open the Windows service manager, perhaps you forgot to log in as Adminstrator? 具体情况: 在配置安装Apache的时候,我下载的是zip格式,不是msi安装版,需要自己注册服务,才能在桌面任务栏里有httpd的图标. 结果在cmd命令行里输入安装服务命令的时候出错,出错信息界面如下: 错误信息提示我没有用管理员身

Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to address [::]:80

1. 启动 Apache 时报错: [[email protected] sh]# service httpd start Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName (98)Address already in use: make_sock: could not bi

解决:配置虚拟主机,重启apache,[warn] _default_ VirtualHost overlap on port 80, the first has precedence

http://blog.csdn.net/kaizhu_qin/article/details/17506293 很多第一次配置apache的虚拟主机的时候,以为配置第一个虚拟主机完成以后,以后就不会出现什么问题了.在配置第一个虚拟主机的时候,重启apache的时候,都可能会遇到下面的问题:[warn] _default_ VirtualHost overlap on port 80, the first has precedence是因为第一个虚拟主机配置已经占用了80端口,所以将会沿用第一虚

SELinux导致Apache 403错误解决方法

将DocumentRoot设在/var/www/html下可以访问 但是将DocumentRoot设在其他目录(如:/webroot)下就出现Forbidden了.在./etc/httpd/conf/httpd.conf中的相关部分是这样的: Alias /query "/home/query" <Directory "/home/query"> Options Indexes MultiViews AllowOverride None Order al

xammp start apache service FQA(xammp启动apache服务问题解决方案汇总)

xammp=apache+php+mysql  相当于一个服务集成包吧,主要是帮助用户免去配置的烦恼. 问题描述: 但是xammp也会出问题,通常是启动不了apache服务,一般会显示如下错误信息: 9:20:15 [Apache] Status change detected: stopped <span style="color:#ff0000;">9:20:15 [Apache] Error: Apache shutdown unexpectedly. 9:20:15

apache AH00558错误: Could not reliably determine the server&#39;s fully qualified domain name

/usr/local/httpd/bin/apachectl start AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message apache 启动出现这种错误的解决方法:将 apache 的配