`
congjl2002
  • 浏览: 211576 次
  • 性别: Icon_minigender_1
  • 来自: 辽宁
社区版块
存档分类
最新评论

Apache的443端口被占用解决方法

 
阅读更多

今天使用xampp,apache无法启动,由于使用xampp-control-3-beta.exe无法看到错误,就是无法启动。

 

windows用cmd,执行xampp/apache/bin中的httpd.exe,看到:

(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : make_sock: c
ould not bind to address [::]:443

 

查找端口占用

D:\server\xampp\apache\bin>netstat -ano|findstr "443"
  TCP    0.0.0.0:443            0.0.0.0:0              LISTENING       3120
  TCP    199.10.33.30:54312     202.173.27.250:443     TIME_WAIT       0
  TCP    199.10.33.30:54313     216.219.120.244:443    TIME_WAIT       0

 

 

查看进程占用程序

D:\server\xampp\apache\bin>tasklist|findstr "3120"
vmware-hostd.exe              3120 Services                   0     55,356 K

 

可见433由vmare占用,根据“先来后到”的原则,那么只有更改apache的这个端口了。

解决方法
进入Apache的安装目录,搜索httpd-ssl.conf,右击文本打开。寻找443替换成其他不常用的端口号,比如442。接下来就可以正常启动Apache了。
 
分享到:
评论
1 楼 hyt5926 2012-07-22  
神解决!!谢了.

相关推荐

Global site tag (gtag.js) - Google Analytics