At 05:38 PM 5/1/01 -0400, Priscilla Oppenheimer wrote:
>OK, I have a DOS question that really is relevant to Cisco networking (sort
>of. ;-) This came up a couple months ago, but I can't find the answer in
>the archives.
>
>What is the DOS command to see port numbers (services) in use on a PC?
>Someone posted a command that would let you see the list of TCP and UDP
>port numbers. One of my students asked how to do this and I remembered that
>there was a command, but I couldn't remember what it was.
>
>Thanks,
>
>Priscilla
netstat
netstat -a will show you all ports, even listening. (yuck)
netstat -a -n will show all ports, and not resolve the ips to dns names.
Sigh, in any decent unix you can get JUST the server listening ports. Or
at least you can filter the output. Ah well.
-Carroll Kong
Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=2829&t=2809
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]