betweenGo

TcpView

by Frank Kim on Apr.18, 2008, under Windows

Sometimes I will start up a server process and get an error about a port already in use. This problem always bedeviled me before as I randomly stopped processes until that port was freed up.

But today a colleague pointed out a great Microsoft tool called TcpView.

TCPView is a Windows program that will show you detailed listings of all TCP and UDP endpoints on your system, including the local and remote addresses and state of TCP connections. On Windows Server 2008, Vista, NT, 2000 and XP TCPView also reports the name of the process that owns the endpoint. TCPView provides a more informative and conveniently presented subset of the Netstat program that ships with Windows. The TCPView download includes Tcpvcon, a command-line version with the same functionality.

With TCPView I discovered and stopped the anti-virus program which was taking up one of the ports that the server needed.  This is much nicer than netstat. :-)

Another nice tool to discover what programs are holding onto files is Process Explorer.

  • Share/Bookmark

Related posts:

  1. What’s Running
  2. Apache not starting because of Skype
  3. Oracle TNS Listener service not starting
  4. Unable to start Cygwin shell from Windows command prompt
  5. Installing the Microsoft Loopback Adapter


2 Trackbacks / Pingbacks for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!