Apache没有启动

时间:2011-08-12 13:48:45

标签: apache ssl apache2 port

我似乎无法在Windows7上启动Apache 2.2,侦听端口80和8443。

我收到以下错误:

  
    
      

(OS 10048)通常只允许使用每个套接字地址(协议/网络地址/端口)。 :make_sock:无法绑定到地址0.0.0.0:8443。

    
  

此错误通常是由另一个应用程序侦听同一端口引起的,但我绝对没有其他应用程序在端口8443上侦听。

无论我告诉ssl听什么端口,我都会收到此错误。

有什么想法吗?

Netstat转储:

活动连接

  Proto  Local Address          Foreign Address        State           PID
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
 Can not obtain ownership information
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       872
  RpcSs
 [svchost.exe]
  TCP    0.0.0.0:443            0.0.0.0:0              LISTENING       3500
 [magentproc.exe]
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
 Can not obtain ownership information
  TCP    0.0.0.0:1025           0.0.0.0:0              LISTENING       508
 [wininit.exe]
  TCP    0.0.0.0:1026           0.0.0.0:0              LISTENING       988
  eventlog
 [svchost.exe]
  TCP    0.0.0.0:1027           0.0.0.0:0              LISTENING       472
  Schedule
 [svchost.exe]
  TCP    0.0.0.0:1028           0.0.0.0:0              LISTENING       580
 [lsass.exe]
  TCP    0.0.0.0:1029           0.0.0.0:0              LISTENING       556
 [services.exe]
  TCP    0.0.0.0:5001           0.0.0.0:0              LISTENING       3500
 [magentproc.exe]
  TCP    0.0.0.0:5002           0.0.0.0:0              LISTENING       3500
 [magentproc.exe]
  TCP    0.0.0.0:5003           0.0.0.0:0              LISTENING       3500
 [magentproc.exe]
  TCP    0.0.0.0:5357           0.0.0.0:0              LISTENING       4
 Can not obtain ownership information
  TCP    0.0.0.0:8000           0.0.0.0:0              LISTENING       4
 Can not obtain ownership information
  TCP    0.0.0.0:50500          0.0.0.0:0              LISTENING       3500
 [magentproc.exe]
  TCP    0.0.0.0:54345          0.0.0.0:0              LISTENING       3500
 [magentproc.exe]
  TCP    10.125.247.11:139      0.0.0.0:0              LISTENING       4
 Can not obtain ownership information
  TCP    10.125.247.11:28530    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28532    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
 TCP    10.125.247.11:28555    172.19.41.40:8080      ESTABLISHED     4172
  [OUTLOOK.EXE]
  TCP    10.125.247.11:28556    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28560    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28563    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28564    172.19.41.40:8080      ESTABLISHED     3724
[communicator.exe]
  TCP    10.125.247.11:28567    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28571    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28582    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28584    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28603    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28607    172.19.41.40:8080      ESTABLISHED     4172
 [OUTLOOK.EXE]
  TCP    10.125.247.11:28667    172.19.41.40:8080      ESTABLISHED     3724
 [communicator.exe]
  TCP    10.125.247.11:28669    172.19.41.40:8080      ESTABLISHED     3724
 [communicator.exe]
  TCP    10.125.247.11:29482    172.19.41.40:8080      ESTABLISHED     1692
 [chrome.exe]
  TCP    10.125.247.11:29486    172.19.41.40:8080      ESTABLISHED     1692
 [ chrome.exe]
  TCP    10.125.247.11:29489    172.19.41.40:8080      ESTABLISHED     1692
 [chrome.exe]
  TCP    10.125.247.11:29491    172.19.41.40:8080      ESTABLISHED     1692
   [chrome.exe]
    TCP    10.125.247.11:29493    172.19.41.40:8080      ESTABLISHED     1692
   [chrome.exe]
    TCP    10.125.247.11:29495    172.19.41.40:8080      ESTABLISHED     1692
   [chrome.exe]
    TCP    10.125.247.11:29498    172.19.41.40:8080      ESTABLISHED     1692
   [chrome.exe]
    TCP    10.125.247.11:29502    172.19.41.40:8080      ESTABLISHED     1692
   [chrome.exe]
    TCP    10.125.247.11:29505    172.19.41.40:8080      ESTABLISHED     1692
  [chrome.exe]
    TCP    10.125.247.11:29509    172.19.41.40:8080      ESTABLISHED     1692
   [chrome.exe]
    TCP    10.125.247.11:29513    172.19.41.40:8080      ESTABLISHED     1692
   [chrome.exe]
    TCP    10.125.247.11:29514    172.19.41.40:8080      ESTABLISHED     1692
   [chrome.exe]
    TCP    10.125.247.11:29515    172.19.41.40:8080      ESTABLISHED     1692
   [chrome.exe]
    TCP    127.0.0.1:1033         0.0.0.0:0              LISTENING       3212
   [AccentureMobileMediaReminderClient.exe]
    TCP    [::]:80                [::]:0                 LISTENING       4
   Can not obtain ownership information
    TCP    [::]:135               [::]:0                 LISTENING       872
    RpcSs
   [svchost.exe]
    TCP    [::]:445               [::]:0                 LISTENING       4
   Can not obtain ownership information
    TCP    [::]:1025              [::]:0                 LISTENING       508
   [wininit.exe]
    TCP    [::]:1026              [::]:0                 LISTENING       988
    eventlog
   [svchost.exe]
    TCP    [::]:1027              [::]:0                 LISTENING       472
    Schedule
   [svchost.exe]
    TCP    [::]:1028              [::]:0                 LISTENING       580
   [lsass.exe]
    TCP    [::]:1029              [::]:0                 LISTENING       556
   [services.exe]
    TCP    [::]:5357              [::]:0                 LISTENING       4
   Can not obtain ownership information
    TCP    [::]:8000              [::]:0                 LISTENING       4
   Can not obtain ownership information
    UDP    0.0.0.0:123            *:*                                    1064
    W32Time
   [svchost.exe]
    UDP    0.0.0.0:500            *:*                                    472
    IKEEXT
   [svchost.exe]
    UDP    0.0.0.0:3702           *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    0.0.0.0:3702           *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    0.0.0.0:3702           *:*                                    2276
    PeerDistSvc
   [svchost.exe]
    UDP    0.0.0.0:3702           *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    0.0.0.0:3702           *:*                                    2276
    PeerDistSvc
   [svchost.exe]
    UDP    0.0.0.0:3702           *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    0.0.0.0:4500           *:*                                    472
    IKEEXT
   [svchost.exe]
    UDP    0.0.0.0:5355           *:*                                    1228
    Dnscache
   [svchost.exe]
    UDP    0.0.0.0:55306          *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    0.0.0.0:55308          *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    10.125.247.11:137      *:*                                    4
   Can not obtain ownership information
    UDP    10.125.247.11:138      *:*                                    4
   Can not obtain ownership information
    UDP    10.125.247.11:1900     *:*                                    3952
    SSDPSRV
   [svchost.exe]
    UDP    10.125.247.11:62526    *:*                                    3952
    SSDPSRV
   [svchost.exe]
    UDP    127.0.0.1:1900         *:*                                    3952
    SSDPSRV
   [svchost.exe]
    UDP    127.0.0.1:53356        *:*                                    2644
   [taskhost.exe]
    UDP    127.0.0.1:56632        *:*                                    580
   [lsass.exe]
    UDP    127.0.0.1:57319        *:*                                    3724
   [communicator.exe]
    UDP    127.0.0.1:60703        *:*                                    3724
   [communicator.exe]
    UDP    127.0.0.1:62527        *:*                                    3952
    SSDPSRV
   [svchost.exe]
    UDP    127.0.0.1:63140        *:*                                    4172
   [OUTLOOK.EXE]
    UDP    [::]:123               *:*                                    1064
    W32Time
   [svchost.exe]
    UDP    [::]:500               *:*                                    472
    IKEEXT
   [svchost.exe]
    UDP    [::]:3702              *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    [::]:3702              *:*                                    2276
    PeerDistSvc
   [svchost.exe]
    UDP    [::]:3702              *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    [::]:3702              *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    [::]:3702              *:*                                    2276
    PeerDistSvc
   [svchost.exe]
    UDP    [::]:3702              *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    [::]:4500              *:*                                    472
    IKEEXT
   [svchost.exe]
    UDP    [::]:5355              *:*                                    1228
    Dnscache
   [svchost.exe]
    UDP    [::]:55307             *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    [::]:55309             *:*                                    1064
    EventSystem
   [svchost.exe]
    UDP    [::1]:1900             *:*                                    3952
    SSDPSRV
   [svchost.exe]
    UDP    [::1]:62525            *:*                                    3952
    SSDPSRV
   [svchost.exe]
    UDP    [fe80::cca:bedf:a696:8354%13]:546  *:*                                                988
    Dhcp
   [svchost.exe]
    UDP    [fe80::cca:bedf:a696:8354%13]:1900  *:*                                          3952
    SSDPSRV
   [svchost.exe]
    UDP    [fe80::cca:bedf:a696:8354%13]:62524  *:*                                    3952
    SSDPSRV
   [svchost.exe]

2 个答案:

答案 0 :(得分:0)

它看起来确实如此..现在这是一个很长的镜头,但检查你的/ etc / services并查看是否定义了8443端口?

pcsync-https    8443/tcp    # PCsync HTTPS
pcsync-https    8443/udp    # PCsync HTTPS
pcsync-http     8444/tcp    # PCsync HTTP
pcsync-http     8444/udp    # PCsync HTTP

答案 1 :(得分:0)

我被告知:

如果您使用的是最新的Skype,请转到工具 - >选项 - >高级 - >连接。禁用'使用端口80和443进行交替...'

退出并关闭所有Skype窗口。


感谢您的建议。工作!!!