ITeye博客

Port 80 or 443 (SSL) already in use ! Installing Apache2.2 service failed!的解决方案

lgl669 · 2011-02-15 10:16 · java · 编程语言 · Markdown

Port 80 or 443 (SSL) already in use ! Installing Apache2.2 service failed!的解决方案2009年01月27日 星期二 08:59 P.M.问题:安装XAMPP 1.70过程中,报错 : Port 80 or 443 (SSL) already in use ! Installing Apache2.2 service failed!

在XAMPP Control Panel上,不能正常启动Apache服务。不能登录http://localhost。 原因:某些应用程序或服务,如IIS,Skype等可能占用80端口或443端口。造成Apache不能使用此端口。

解决方案:修改apache使用的端口号。

如:

1)修改xampp\apache\conf\extra\httpd-ssl.conf文件

Note: Configurations that use IPv6 but not IPv4-mapped addresses need two

Listen directives: "Listen :443" and "Listen 0.0.0.0:443"

Listen 443

改成

Note: Configurations that use IPv6 but not IPv4-mapped addresses need two

Listen directives: "Listen :1443" and "Listen 0.0.0.0:1443"

Listen 1443;

2)修改xampp\apache\conf\ httpd.conf文件

#Listen 12.34.56.78:80

Listen 80

改成

#Listen 12.34.56.78:800

Listen 800

PS:443,80端口也可以根据需要改成其他端口如2443,8080等。

XAMPP Control Panel中Apache运行正常。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。