Knowing which PORT is using by which APPLICATION

April 20, 2009 01:49 by admin

Recently for a client need to install our SilverLight application on his laptop for demo over GotoMeeting. The laptop is having Vista 64 bit Windows OS. After installing IIS 7 on it, the webserver's Default Website was not starting. So checked everything - Services, Installed Apps in Programs & Features etc, to see whether Apache or Tomcat or any other webserver is running and blocking 80 port. But couldn't see any of those applications.

Then started hunting to know who is blocking 80 port on that machine. Did little googling and found following 2 commands to know which app is listening to the 80 port.

Through these commands you can know easily which application is listening to a particular port. As well you can see all ports that are exposed and applications that are using them. This is a 2 step process. First we will see ,what are the ports that are listening by different Process Ids. Next using that PID we will get the Application name.

To know the listening ports on your machine type the following command in CMD prompt

netstat -ano | find /i "listening"

Fist column will show you the protocol TCP or UDP, next IP & PORT numbers of Source, next IP & PORT numbers of Destination machine, next State (that we needed to filter the list), and finally the Process Id (PID).

From the last column we will take the Process Id and find the Application of it.

So for that lets Google and download a small application named PUList. The Windows 2000 Resource Kit Tool needs you to go through Genuine OS check, and then you can download the PULIST.EXE. After downloading & installing PUList, navigate to the installed directory in CMD prompt. Run the following command in there,

pulist |find /I "6372"

or just

pulist 

will list all the processes that are running.

Finally we found that Skype is using the port 80. So after exiting it the IIS Default website started working. 


Comments

hunting July 31. 2009 08:57
Hi there! I just want to left you know how much I appreciate your log. I want to congratulate you for a job well done!
asus laptops September 9. 2009 23:45
How do I connect parallel port of printer to USB 2 port, from where i can get the device?
XRF October 9. 2009 01:11
Hi,
   How & where to store my PC data as a back up data in case my operating system fails ?
Best antivirus October 21. 2009 01:19
Hi,

How can I get a new laptop to recognize an old laptops hard drive?
Search engine marketing November 2. 2009 23:33
HI,
   How & where to store my PC data as a back up data in case my operating system fails ?
soccer November 11. 2009 09:39
You may have not intended to do so, but I think you have managed to express the state of mind that a lot of people are in. The sense of wanting to help, but not knowing how or where, is something a lot of us are going through.
Weight loss pills November 12. 2009 09:57
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post
Christmas Puzzle November 13. 2009 08:22
Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.
adelaide website design November 14. 2009 04:53
In the late 1880s, Herman Hollerith invented the recording of data on a machine readable medium. Prior uses of machine readable media, above, had been for control, not data. "After some initial trials with paper tape, he settled on punched cards ..."[9] To process these punched cards he invented the tabulator, and the keypunch machines. These three inventions were the foundation of the modern information processing industry. Large-scale automated data processing of punched cards was performed for the 1890 United States Census by Hollerith's company, which later became the core of IBM. By the end of the 19th century a number of technologies that would later prove useful in the realization of practical computers had begun to appear: the punched card, Boolean algebra, the vacuum tube (thermionic valve) and the teleprinter.
Lyrics November 14. 2009 07:01
Keep 'em coming... you all do such a great job at such Concepts... can't tell you how much I, for one appreciate all you do!
roulette strategie November 16. 2009 07:06
Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It's always nice when you can not only be informed, but also entertained! I'm sure you had fun writing this article.
cacao November 17. 2009 09:57
There are certainly a lot of details like that to take into consideration. That is a great point to bring up. I offer the thoughts above as general inspiration but clearly there are questions like the one you bring up where the most important thing will be working in honest good faith. I don?t know if best practices have emerged around things like that, but I am sure that your job is clearly identified as a fair game.
Linda Mirano November 18. 2009 20:50
Great post! I am just starting out in community management/marketing media and trying to learn how to do it well - resources like this article are incredibly helpful. As our company is based in the US, it?s all a bit new to us. The example above is something that I worry about as well, how to show your own genuine enthusiasm and share the fact that your product is useful in that case.
seo perth November 25. 2009 02:54
An executable is almost always not sufficiently complete for direct execution. Software libraries include collections of functions and functionality that may be embedded in other applications. Operating systems include many standard Software libraries, and applications are often distributed with their own libraries.File:Software.jpg
Driving Lessons Manchester November 27. 2009 13:45
best post i have come across
Wheelchair Ramps November 27. 2009 13:46
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post
payday loans November 29. 2009 13:28
Like your writing! Still you can do some things to improve it.
hirephpdevelopers December 3. 2009 06:22
This is nice post for port details about particular application. There are different application open in the others Process Id (PID).
Wheelchair Ramps December 8. 2009 08:37
had fun reading it cheers
Bicycle insurance December 8. 2009 08:38
just love all the feedback everyone is sending you
Fixed Annuity Rates December 11. 2009 11:42
Thanks for the post. I was looking for the topic to know. Nice post. I appreciate the author.
online dating December 21. 2009 23:15
How can I configure a 5 port switch to connect two pc's for a broadband connection..?
online poker December 22. 2009 03:34
How can we charge an i-pod through USB port? What is the use of USB port?
designer bags sale December 31. 2009 16:44
This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog.
best digital camera January 6. 2010 04:40
Hi,

Good post.....Very nice and creative site , i really impressed about this blog.....
internet marketing January 7. 2010 10:24
Joseph E. Hasten was the President and CEO of ShoreBank , America's first and leading community development and environmental bank founded
online payday advance January 13. 2010 15:36
thanks!  very helpful post!! like the template btw ;)
business opportunity January 14. 2010 22:42
Simply wanted to express my gratitude to everybody who has anything to do with the creation of this resource. I wish I could find such informative sites more often. I regularly spend much time on lust looking for some worthy sites when I can find something to read. Your site is surely one of them. I wish you futher success.
Life insurance January 19. 2010 23:35
Really appreciate this post. It’s hard to sort the good from the bad sometimes, but I think you’ve nailed it!
Pokerstars January 20. 2010 00:02
Brilliant post mate, keep up the good work …
Business Promotion Techniques January 21. 2010 00:21
From low-cost business promotion techniques through web site promotion, ... Want to attract new business but have a small marketing budget or none at all?
SEO January 21. 2010 02:24
Hi,

A good read, definitely worth a cut and paste. Thanks!
antivirus software February 7. 2010 22:16
Excellent blog post, I look forward to reading more.
learn poker February 9. 2010 04:08
Great post! Thanks for the information
acai select February 12. 2010 07:46
A leader is best when people barely know he exists, when his work is done, his aim fulfilled, they will say: we did it ourselves.
unsecured loans February 12. 2010 12:06
Always dream and shoot higher than you know you can do. Don't bother just to be better than your contemporaries or predecessors. Try to be better than yourself.
bamboo floors February 17. 2010 00:50
Appreciate the info, it’s good to know.
http://www.ifloor.com/

Add comment


(Will show your Gravatar icon)

  Country flag

Click to change captcha
biuquote
  • Comment
  • Preview
Loading