Main Tutorials

List all ports opened in windows (netstat -nb)

Recently some of my ports always conflict with the port i want to open in window. I try to find out how can i know what programs or ports currently using in my computer? With a simple command, it will show exactly what i want to know. Please issue following command in windows command prompt.

netstat -nb

Above command will show which ports open in my computer and what program hold the port. If you want to know more detail about netstat command , please issue following command also.

netstat -?

About Author

author image
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

Subscribe
Notify of
2 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Leroy Lipoma
11 years ago

I’m not sure where you are getting your information, but good topic. I needs to spend some time learning much more or understanding more. Thanks for excellent information I was looking for this information for my mission.

Elisa Chesher
13 years ago

I looks like you got it all figure out in this industry. List all ports opened in windows (netstat -nb) was a wonderful read.