skip to Main Content

First, I wanted to see what was using port 80:

C:Users[my user]>netstat -aon | findstr :80
TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
TCP    192.168.1.46:57822     72.21.91.29:80         TIME_WAIT       0
TCP    [::]:80                [::]:0                 LISTENING       4
C:Users[my user]>

See what I had in PID 0 and 4:

enter image description here

I did not have an application using port 80 from what I see. I would think that port 80 is free for an application such as Apache to use it. In the following screen, I click “Start Apache” and nothing happens. That was how I always used to start Apache.

enter image description here

I am trying to start Apache on port 80:

enter image description here

If I use a different port such as 81, 82, 83, etc., it works. But I want to use port 80 because I do not want to use http://localhost:81/ in the URL to test my site. I simply want to use http://localhost/.

Do you have an idea about why I am not being able to start the Apache service on port 80 even though apparently port 80 is free? Or maybe it is not free because this PID 4 is using it? The name of that process is System.

2

Answers


  1. Chosen as BEST ANSWER

    I am using a different port instead of 80. Not a big deal, I would have preferred to use port 80 but I can cope with not using it. That is fine.


  2. Please try the following;

    1. Right click on My Computer.
    2. Select Manage.
    3. Double click Services and Applications.
    4. Then double click Services.
    5. Right click on “World Wide Web Publishing Service“.
    6. Select Stop.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search