The Port 80 – what service is using it and how to make it available

I stumbled upon this problem this morning when I was trying to activate my apache but was being hindered by a “Port 80 Unavailable” issue.

Upon installing apache you usually use port 80 which is the standard HTTP port on any platform.

What you have to do is check the port in use and what process is listening through it.

in windows

  1. open the run via (win+r) then type “cmd”
  2. type netstat -ano | find “0.0:80”
  3. the 5th column is the PID (eg. 1020)
  4. open the task manager (ctrl+alt+delete)
  5. in the processes tab, click “view” > “select columns” > tick “PID (Process Identifier)”
  6. click ok.
  7. now search for the PID (eg. 1020) – this is the process that locks and listens in port 80
  8. to release the port click the “end process” but be warned since there are times when the process running port 80 is an important system process, proceed at your own risk.

After terminating that process, port 80 will once again be available and ready to use.

Let the others know about this Rant
  • Print
  • Facebook
  • Twitter
  • LinkedIn
  • Plurk

About Christian Noel

Hi, I'm Cris! I'm interested in anime, programming and photography. My profession is programming and am mostly focused in web development. I've been programming since College. What inspired me to go to programming was because I was so into the gaming industry and I wanted to create my own game.
This entry was posted in Techy Thoughts and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.