title: XAMPP Not working
body: <p>I am currently having problems on my XAMPP. It says that the Port 80 is being used by some other process or program. I tried looking for the program or process in my Task Manager, but I couldn't find which exactly is using the port. For the meantime, since I need to continue developing my project, I just changed the Apache port, but I don't really believe that it's the right thing to do.</p>
  
  <p>Here's the error that XAMPP has been returning to me when I was using Port 80 and SSL 443</p>
  
  <pre><code>6:17:44 PM  [Apache]    Problem detected!
  6:17:44 PM  [Apache]    Port 80 in use by "Unable to open process" with PID 4!
  6:17:44 PM  [Apache]    Apache WILL NOT start without the configured ports free!
  6:17:44 PM  [Apache]    You need to uninstall/disable/reconfigure the blocking application
  6:17:44 PM  [Apache]    or reconfigure Apache and the Control Panel to listen on a different port
  </code></pre>
  
  <p>I've no idea what <code>Port 80 in use by "Unable to open process" with PID 4!</code> means. I tried looking for it, as I've said, but I couldn't find any process or program in the task manager which has the PID 4. Please someone help me, I really need this. Thank you and I'll be grateful.</p>
  
  <p>EDIT:</p>
  
  <p>netstat -np TCP | find "80"  command returned a list like this </p>
  
  <pre><code>TCP 127.0.0.1:1110        127.0.0.1:51480      TIME_WAIT 
  TCP 192.168.1.3:51032     108.160.162.110:80   ESTABLISHED 
  TCP 192.168.1.3:51104     173.194.127.37:80    ESTABLISHED 
  TCP 192.168.1.3:51221      74.125.128.95:80    ESTABLISHED 
  TCP 192.168.1.3:51226     120.28.35.33:80      ESTABLISHED 
  TCP 192.168.1.3:51402      66.29.212.73:80     ESTABLISHED 
  TCP 192.168.1.3:51406      74.125.128.156:80   ESTABLISHED 
  </code></pre>
  
  <p>What do I do next?</p>
  
  <p>Additional:</p>
  
  <p>I tried <code>netstat -aon</code>. Here's the result:</p>
  
  <pre><code>Active Connections
  
    Proto  Local Address          Foreign Address        State           PID
    TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:81             0.0.0.0:0              LISTENING       1468
    TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       548
    TCP    0.0.0.0:444            0.0.0.0:0              LISTENING       1468
    TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:554            0.0.0.0:0              LISTENING       3168
    TCP    0.0.0.0:1110           0.0.0.0:0              LISTENING       1944
    TCP    0.0.0.0:2869           0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:3306           0.0.0.0:0              LISTENING       7624
    TCP    0.0.0.0:5357           0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:10243          0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING       764
    TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING       920
    TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING       124
    TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING       872
    TCP    0.0.0.0:49157          0.0.0.0:0              LISTENING       864
    TCP    127.0.0.1:1110         127.0.0.1:51031        ESTABLISHED     1944
    TCP    127.0.0.1:1110         127.0.0.1:51785        ESTABLISHED     1944
    TCP    127.0.0.1:1110         127.0.0.1:52762        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52780        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52823        ESTABLISHED     1944
    TCP    127.0.0.1:1110         127.0.0.1:52829        ESTABLISHED     1944
    TCP    127.0.0.1:1110         127.0.0.1:52839        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52841        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52845        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52847        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52852        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52855        ESTABLISHED     1944
    TCP    127.0.0.1:1110         127.0.0.1:52884        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52886        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52902        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52904        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52906        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52909        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52911        TIME_WAIT       0
    TCP    127.0.0.1:1110         127.0.0.1:52913        CLOSE_WAIT      1944
    TCP    127.0.0.1:3306         127.0.0.1:51127        ESTABLISHED     7624
    TCP    127.0.0.1:3306         127.0.0.1:51945        ESTABLISHED     7624
    TCP    127.0.0.1:3306         127.0.0.1:51949        ESTABLISHED     7624
    TCP    127.0.0.1:3306         127.0.0.1:52009        ESTABLISHED     7624
    TCP    127.0.0.1:3306         127.0.0.1:52398        ESTABLISHED     7624
    TCP    127.0.0.1:3306         127.0.0.1:52400        ESTABLISHED     7624
    TCP    127.0.0.1:5354         0.0.0.0:0              LISTENING       1976
    TCP    127.0.0.1:5354         127.0.0.1:49155        ESTABLISHED     1976
    TCP    127.0.0.1:27015        0.0.0.0:0              LISTENING       1908
    TCP    127.0.0.1:27015        127.0.0.1:49195        ESTABLISHED     1908
    TCP    127.0.0.1:49155        127.0.0.1:5354         ESTABLISHED     1908
    TCP    127.0.0.1:49195        127.0.0.1:27015        ESTABLISHED     4508
    TCP    127.0.0.1:50796        0.0.0.0:0              LISTENING       7800
    TCP    127.0.0.1:51031        127.0.0.1:1110         ESTABLISHED     4172
    TCP    127.0.0.1:51127        127.0.0.1:3306         ESTABLISHED     7776
    TCP    127.0.0.1:51785        127.0.0.1:1110         ESTABLISHED     4560
    TCP    127.0.0.1:51945        127.0.0.1:3306         ESTABLISHED     7776
    TCP    127.0.0.1:51949        127.0.0.1:3306         ESTABLISHED     7776
    TCP    127.0.0.1:52009        127.0.0.1:3306         ESTABLISHED     7776
    TCP    127.0.0.1:52398        127.0.0.1:3306         ESTABLISHED     7776
    TCP    127.0.0.1:52400        127.0.0.1:3306         ESTABLISHED     7776
    TCP    127.0.0.1:52784        127.0.0.1:1110         TIME_WAIT       0
    TCP    127.0.0.1:52823        127.0.0.1:1110         ESTABLISHED     4560
    TCP    127.0.0.1:52829        127.0.0.1:1110         ESTABLISHED     4560
    TCP    127.0.0.1:52855        127.0.0.1:1110         ESTABLISHED     4560
    TCP    127.0.0.1:52872        127.0.0.1:1110         TIME_WAIT       0
    TCP    127.0.0.1:52913        127.0.0.1:1110         FIN_WAIT_2      4560
    TCP    192.168.1.3:139        0.0.0.0:0              LISTENING       4
    TCP    192.168.1.3:51032      108.160.162.110:80     ESTABLISHED     1944
    TCP    192.168.1.3:51786      69.171.248.16:443      ESTABLISHED     1944
    TCP    192.168.1.3:52824      31.13.68.16:443        ESTABLISHED     1944
    TCP    192.168.1.3:52831      74.125.128.95:80       ESTABLISHED     1944
    TCP    192.168.1.3:52858      173.194.127.37:80      ESTABLISHED     1944
    TCP    192.168.1.3:52908      27.111.185.144:443     TIME_WAIT       0
    TCP    192.168.1.3:52914      198.252.206.16:80      FIN_WAIT_2      1944
    TCP    [::]:80                [::]:0                 LISTENING       4
    TCP    [::]:81                [::]:0                 LISTENING       1468
    TCP    [::]:135               [::]:0                 LISTENING       548
    TCP    [::]:444               [::]:0                 LISTENING       1468
    TCP    [::]:445               [::]:0                 LISTENING       4
    TCP    [::]:554               [::]:0                 LISTENING       3168
    TCP    [::]:1110              [::]:0                 LISTENING       1944
    TCP    [::]:2869              [::]:0                 LISTENING       4
    TCP    [::]:3587              [::]:0                 LISTENING       4904
    TCP    [::]:5357              [::]:0                 LISTENING       4
    TCP    [::]:10243             [::]:0                 LISTENING       4
    TCP    [::]:49152             [::]:0                 LISTENING       764
    TCP    [::]:49153             [::]:0                 LISTENING       920
    TCP    [::]:49154             [::]:0                 LISTENING       124
    TCP    [::]:49156             [::]:0                 LISTENING       872
    TCP    [::]:49157             [::]:0                 LISTENING       864
    UDP    0.0.0.0:500            *:*                                    124
    UDP    0.0.0.0:3544           *:*                                    124
    UDP    0.0.0.0:3702           *:*                                    1048
    UDP    0.0.0.0:3702           *:*                                    1064
    UDP    0.0.0.0:3702           *:*                                    1048
    UDP    0.0.0.0:3702           *:*                                    3560
    UDP    0.0.0.0:3702           *:*                                    1064
    UDP    0.0.0.0:3702           *:*                                    3560
    UDP    0.0.0.0:4500           *:*                                    124
    UDP    0.0.0.0:5004           *:*                                    3168
    UDP    0.0.0.0:5005           *:*                                    3168
    UDP    0.0.0.0:5355           *:*                                    1328
    UDP    0.0.0.0:49154          *:*                                    1976
    UDP    0.0.0.0:59056          *:*                                    1048
    UDP    0.0.0.0:59058          *:*                                    1064
    UDP    0.0.0.0:60910          *:*                                    3560
    UDP    127.0.0.1:1233         *:*                                    7048
    UDP    127.0.0.1:1900         *:*                                    3560
    UDP    127.0.0.1:49152        *:*                                    1908
    UDP    127.0.0.1:49153        *:*                                    1908
    UDP    127.0.0.1:49169        *:*                                    4508
    UDP    127.0.0.1:49170        *:*                                    4508
    UDP    127.0.0.1:51245        *:*                                    3560
    UDP    127.0.0.1:64663        *:*                                    4560
    UDP    192.168.1.3:137        *:*                                    4
    UDP    192.168.1.3:138        *:*                                    4
    UDP    192.168.1.3:1900       *:*                                    3560
    UDP    192.168.1.3:5353       *:*                                    1976
    UDP    192.168.1.3:51244      *:*                                    3560
    UDP    192.168.1.3:62356      *:*                                    124
    UDP    [::]:500               *:*                                    124
    UDP    [::]:3540              *:*                                    4904
    UDP    [::]:3702              *:*                                    1064
    UDP    [::]:3702              *:*                                    1064
    UDP    [::]:3702              *:*                                    3560
    UDP    [::]:3702              *:*                                    1048
    UDP    [::]:3702              *:*                                    3560
    UDP    [::]:3702              *:*                                    1048
    UDP    [::]:4500              *:*                                    124
    UDP    [::]:5004              *:*                                    3168
    UDP    [::]:5005              *:*                                    3168
    UDP    [::]:5355              *:*                                    1328
    UDP    [::]:49155             *:*                                    1976
    UDP    [::]:59057             *:*                                    1048
    UDP    [::]:59059             *:*                                    1064
    UDP    [::]:60911             *:*                                    3560
    UDP    [::1]:1900             *:*                                    3560
    UDP    [::1]:5353             *:*                                    1976
    UDP    [::1]:51243            *:*                                    3560
    UDP    [fe80::99d4:6002:6b3a:4842%17]:546  *:*                        920
    UDP    [fe80::99d4:6002:6b3a:4842%17]:1900  *:*                      3560
    UDP    [fe80::99d4:6002:6b3a:4842%17]:51242  *:*                     3560
  </code></pre>
  
  <p><strong>FIX</strong></p>
  
  <p>So I was working last night on a MS VS project. I encountered errors (very unrelated to this topic) that required me to turn on the .NET Framework 3.5 on the windows features. Turns out it was the culprit. I just turned it off since I no longer need it, and boom, port 80 has been freed.</p>
  
  <p>This is a very, very isolated case, but someday, this thread might help someone. So good luck guys! Thank you to everyone who answered. I really appreciate it. Thanks again!</p>