Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server Question

Status
Not open for further replies.

JasonU

IS-IT--Management
Feb 13, 2003
99
0
0
ZA
Does anyone know how to run a command line, to see what ports are being used by which program or app on a server?

Regards
 
netstat -a
netstat -?

Lars

Network admin for worldwide freight forwarders company.
mcp mcsa\: Messaging mcse -2003
 
is there anyway to print the out put to a printer?
 
in dos in the left top rightclick on the c:\ icon do 'edit' and then 'mark' select the text and press enter.
In notepad do ctrl v to paste

lars

Network admin for worldwide freight forwarders company.
mcp mcsa\: Messaging mcse -2003
 
You could also use:

netstat -a >> c:\portinfo.txt (use whatever path/filename you like)

This will print the outcome of the command to the text file 'c:\portinfo.txt' (rather than the screen).

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top