views:

152

answers:

4

how to get list of ports which are in use at server

A: 

If you mean what ports are listening, you can open a command prompt and write:

netstat

You can write:

netstat /?

for an explanation of all options.

kanngard
+3  A: 

Open up a command prompt then type...

netstat -a
Chris Arnold
+2  A: 

"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."

http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

Ed Guiness
+1  A: 

nmap is a useful tool for this kind of thing

Mikey

related questions