Link to home
Start Free TrialLog in
Avatar of M A
M AFlag for United States of America

asked on

Apache doesnt start with default port after restart .

I have Xampp installed in Windows2012R2.
I have this error after a reboot in Xampp. I have opencart installed.  
If I change the port from 80 to 81 or other port apache starts. Any idea what could be wrong?
It seems port is used somewhere not sure where?
User generated image
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of M A

ASKER

I changed to port 81 to start apache. I replaced servername with mydomain
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Administrator>netstat -a -b

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:21             mydomain:0           LISTENING
 [FileZilla Server.exe]
  TCP    0.0.0.0:80             mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    0.0.0.0:81             mydomain:0           LISTENING
 [httpd.exe]
  TCP    0.0.0.0:135            mydomain:0           LISTENING
  RpcSs
 [svchost.exe]
  TCP    0.0.0.0:443            mydomain:0           LISTENING
 [httpd.exe]
  TCP    0.0.0.0:445            mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    0.0.0.0:3306           mydomain:0           LISTENING
 [mysqld.exe]
  TCP    0.0.0.0:3389           mydomain:0           LISTENING
  TermService
 [svchost.exe]
  TCP    0.0.0.0:5985           mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    0.0.0.0:47001          mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    0.0.0.0:49152          mydomain:0           LISTENING
 [wininit.exe]
  TCP    0.0.0.0:49153          mydomain:0           LISTENING
  EventLog
 [svchost.exe]
  TCP    0.0.0.0:49154          mydomain:0           LISTENING
  Schedule
 [svchost.exe]
  TCP    0.0.0.0:49155          mydomain:0           LISTENING
 [spoolsv.exe]
  TCP    0.0.0.0:49156          mydomain:0           LISTENING
 [lsass.exe]
  TCP    0.0.0.0:49157          mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    127.0.0.1:14147        mydomain:0           LISTENING
 [FileZilla Server.exe]
  TCP    192.168.0.167:139      mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    192.168.0.167:3389     dell-pc:55715          ESTABLISHED
  TermService
 [svchost.exe]
  TCP    [::]:21                mydomain:0           LISTENING
 [FileZilla Server.exe]
  TCP    [::]:80                mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    [::]:81                mydomain:0           LISTENING
 [httpd.exe]
  TCP    [::]:135               mydomain:0           LISTENING
  RpcSs
 [svchost.exe]
  TCP    [::]:443               mydomain:0           LISTENING
 [httpd.exe]
  TCP    [::]:445               mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    [::]:3306              mydomain:0           LISTENING
 [mysqld.exe]
  TCP    [::]:3389              mydomain:0           LISTENING
  TermService
 [svchost.exe]
  TCP    [::]:5985              mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    [::]:47001             mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    [::]:49152             mydomain:0           LISTENING
 [wininit.exe]
  TCP    [::]:49153             mydomain:0           LISTENING
  EventLog
 [svchost.exe]
  TCP    [::]:49154             mydomain:0           LISTENING
  Schedule
 [svchost.exe]
  TCP    [::]:49155             mydomain:0           LISTENING
 [spoolsv.exe]
  TCP    [::]:49156             mydomain:0           LISTENING
 [lsass.exe]
  TCP    [::]:49157             mydomain:0           LISTENING
 Can not obtain ownership information
  TCP    [::1]:14147            mydomain:0           LISTENING
 [FileZilla Server.exe]
  UDP    0.0.0.0:3389           *:*
  TermService
 [svchost.exe]
  UDP    0.0.0.0:5355           *:*
  Dnscache
 [svchost.exe]
  UDP    192.168.0.167:137      *:*
 Can not obtain ownership information
  UDP    192.168.0.167:138      *:*
 Can not obtain ownership information
  UDP    [::]:3389              *:*
  TermService
 [svchost.exe]

C:\Users\Administrator>

Open in new window

Some unnamed process (might be Malware running) is holding port 80 + port 443, so you have to find + kill this process first.

Since the port 80 process is unnamed... this suggests Malware may be running, as most well crafted daemons will show up by name.
Avatar of M A

ASKER

I found WWW service running.
Afert stopping www service and apache started with port 80
Avatar of M A

ASKER

I found WWW service running.
Afert stopping www service and apache started with port 80
Excellent!

Glad you figured this out!
Avatar of M A

ASKER

Your command gave me hint  to figure it out. Thanks :))