A passionate programmer’s findings in the world of internet.

Check Which Application Stole Your Port

Friday, November 23rd, 2007

Windows XP: I was trying to start my apache web server but it seems like some other application has stolen my port 80. I never had this problem before.

After a few searches I learned a few commands that helped me to identify which process that actually listening to port 80.

  1. Go to command prompt (Start > Run > cmd)
  2. Type in: netstat -aon
  3. You will see a list of IP numbers, port numbers and the process ID (PID).
  4. Look for the row with and remember the process ID.
  5. Open up Task Manager (Start > Run > taskmgr)
  6. Go to Process tab, click View > Select Columns...
  7. Tick PID (Process Identifier)
  8. Search the process that has the same process ID shown in netstat and you will find the culprit!

For my case, it's the Skype that occupied my port 80. I later found out that it can be disabled in the options menu.