How to Check What's Using Port 80 or 443 |
![]() |
![]() |
![]() |
Friday, 16 April 2010 01:52 |
Technical warning: this may make your eyes glaze over unless you're a techie type. :-) Every once in a while I have to learn something I didn't expect to learn, but which, upon its accomplishment, makes me feel very pleased that I was able to find out about something so useful and share it with others who might be having the same problem. I was installing WAMP today, which basically turns my computer into a server that is then able to process websites under development. This gives me the ability to try out coding on a test server without disturbing a live site. This is something I've been wanting to do for a while, and now with all new sites being created in Content Management Systems it's become pretty much a necessity. Plus, I want to be able to write some code for various reasons and this way I can test it without having to be online. Much more convenient. Despite following all instructions I found, I could not get WAMP to work for me. I went to the forums and looked for solutions, finding a list of things to check. I went through that list and amde sure I did everything suggested, but was still not having any luck. The key to Wamp's functioning correctly had to be use of port 80, it was the only thing left. I needed to use port 80 for WAMP, and something had to be blocking it. I had closed down all the programs I had running that it was suggested I close down, but the problem was still the same. I needed a way to find out what was running on port 80. My research on the web paid off, and I finally discovered how to find out what's using what port on my computer. It involved a Windows utility named "netstat". Here's how to find out what's using port 80 (or any other port) in Windows XP:
Another method for finding out the port number is to
download the fport utility:
[www.foundstone.com] Unzip it, place it in the root of c:\ , then in the command prompt window type in c:\fport. It will list out all the ports and what processes are using them. This is much faster to do and actually works better, as it identifies the program much more clearly.
|