Surf 11 » Command to show open TCP ports on Windows

Finding the best waves on the web.

Here's a handy command you can use on windows to list all of the open TCP/IP ports:

netstat -anop TCP

Need to list open UDP ports? You guessed it, try this:

netstat -anop UDP

Quite handy when you want to see if a program did indeed bind to a port. It is essentially an easy way to port scan yourself on windows.

This command is built in to windows, but there are some third party tools such as Foundstone's fport.exe which also shows which program binds to the port.




Related Entries
On at Ray wrote:
1
This helped me find the service that stole UDP port 4071 away from the BlackBerry Controller service. Thanks!

On at testuser wrote:
2
Great. This really works fine.

On at Shashank Saxena wrote:
3
Thanks alot... this helped me for interview...

On at Annony wrote:
4
Thanks a LOT:D

On at Anonymous wrote:
5
doesnt work

lamme

On at papa Oese wrote:
6
Thanx a million. I was having trouble with my bittorrent client communicating outside my internet router. Now I can enjoy fast p2p downloads

On at Anonymous wrote:
7
Thanks. This saved me some time : )

On at Jay wrote:
8
Thanks. This saved me some time : )

Name:

Email: (optional, not displayed on site)
   Subscribe to this thread
Comments: (html will be escaped)



Subscribe to our RSS Feed: subscribe to this feed XML
Archives   Tags   Contact