• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Apache server problems

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

greenman100

Disabled
Joined
May 18, 2003
Location
trying to keep all the magic smoke in
fault.JPG



how can I fix this?
 
You've got some other service running listening for connections on port 80. Possibly IIS or some other application. You could change the port on apache, or on the other program causing the conflict.
 
greenman100 said:
is there anything I can do to see what program is listening on port 80?

If you are running Windows XP or 2000, I think you can use the following command:

netstat -a -b >c:\ports.txt

This command may take a little while to complete. When it's done, there will be a text file located in your C:\ drive called ports.txt. Open it with notepad.

A typical output will look like this:


Code:
Active Connections

  Proto  Local Address          Foreign Address        State           PID
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       760
  c:\windows\system32\WS2_32.dll
  C:\WINDOWS\system32\RPCRT4.dll
  c:\windows\system32\rpcss.dll
  C:\WINDOWS\system32\svchost.exe
  -- unknown component(s) --
  [svchost.exe]

  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
  [System]

  TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING       652
  -- unknown component(s) --
  c:\windows\system32\rpcss.dll
  C:\WINDOWS\system32\svchost.exe
  C:\WINDOWS\system32\ADVAPI32.dll
  [svchost.exe]

  TCP    0.0.0.0:5679           0.0.0.0:0              LISTENING       1716
  [WCESCOMM.EXE]

  TCP    10.10.0.14:139         0.0.0.0:0              LISTENING       4
  [System]

  TCP    127.0.0.1:1086         0.0.0.0:0              LISTENING       588
  [ccApp.exe]

  TCP    10.10.0.14:2429        10.10.0.2:1025         ESTABLISHED     2188
  [OUTLOOK.EXE]

  TCP    10.10.0.14:2891        10.10.0.2:445          ESTABLISHED     4
  [System]

  TCP    10.10.0.14:3978        10.10.0.2:1500         ESTABLISHED     2188
  [OUTLOOK.EXE]

  UDP    0.0.0.0:3857           *:*                                    860
  C:\WINDOWS\system32\mswsock.dll
  c:\windows\system32\WS2_32.dll
  c:\windows\system32\DNSAPI.dll
  c:\windows\system32\dnsrslvr.dll
  C:\WINDOWS\system32\RPCRT4.dll
  -- unknown component(s) --
  [svchost.exe]

  UDP    0.0.0.0:1652           *:*                                    860
  C:\WINDOWS\system32\mswsock.dll
  c:\windows\system32\WS2_32.dll
  c:\windows\system32\DNSAPI.dll
  c:\windows\system32\dnsrslvr.dll
  C:\WINDOWS\system32\RPCRT4.dll
  [svchost.exe]

  UDP    0.0.0.0:1026           *:*                                    860
  C:\WINDOWS\system32\mswsock.dll
  c:\windows\system32\WS2_32.dll
  c:\windows\system32\DNSAPI.dll
  c:\windows\system32\dnsrslvr.dll
  C:\WINDOWS\system32\RPCRT4.dll
  [svchost.exe]

  UDP    0.0.0.0:2967           *:*                                    1412
  [Rtvscan.exe]

  UDP    0.0.0.0:1025           *:*                                    860
  C:\WINDOWS\system32\mswsock.dll
  c:\windows\system32\WS2_32.dll
  c:\windows\system32\DNSAPI.dll
  c:\windows\system32\dnsrslvr.dll
  C:\WINDOWS\system32\RPCRT4.dll
  [svchost.exe]

  UDP    0.0.0.0:1138           *:*                                    2188
  [OUTLOOK.EXE]

  UDP    0.0.0.0:1037           *:*                                    1300
  [SavRoam.exe]

  UDP    0.0.0.0:445            *:*                                    4
  [System]

  UDP    10.10.0.14:138         *:*                                    4
  [System]

  UDP    10.10.0.14:137         *:*                                    4
  [System]

  UDP    127.0.0.1:1041         *:*                                    472
  [winlogon.exe]

  UDP    127.0.0.1:2788         *:*                                    292
  [Maxthon.exe]

  UDP    127.0.0.1:2350         *:*                                    292
  [Maxthon.exe]

  UDP    127.0.0.1:3477         *:*                                    1868
  [Explorer.EXE]

  UDP    127.0.0.1:1027         *:*                                    528
  [lsass.exe]

You're looking for a TCP connection on either your computer's IP address or localhost or 0.0.0.0 followed by a colon and 80, like this:

Code:
  UDP    127.0.0.1:80            *:*                                    528
  [lsass.exe]

The next line after that will tell you the name of the executable or library that's holding the connection open on port 80.
 
Back