enrii.blog

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

Check Which Application Stole Your Port

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 127.0.0.1:80 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.

If my article helped you solved your problem, consider buy me a beer!

Share this article: del.icio.us | digg it

Tags: ,

Related posts:

6 Responses


Kitkat says:

Thanks for the tip. Why would Skype use port 80?


EngLee says:

I’m very curious as well, there is so many ports in the world and they want to use 80. If you simply search “skype port 80″ in Google, you can lots of people complaining.


kAi says:

thanx


duc says:

Thanks for the info. I have been troubleshooting why I can’t setup my apache server all day. What do you guys recommend for skype alternative port? I use 8080 for now until otherwise.

Thanks again.


vijayragavan says:

nice nice Mr.lee


ckl says:

Thank you for your good advise :)