From http://www.techrepublic.com
Microsoft Windows XP
Microsoft Windows also offers a
netstat
command that can be executed from the command line to get a list of open ports. The standard MS Windows version ofnetstat
is slightly more limited than its Unix-like system counterparts, but still suffices to get a listing of listening services: netstat -a | find "LISTENING"
The output of this command should look something like this:
TCP hostname:epmap hostname:0 LISTENING
TCP hostname:microsoft-ds hostname:0 LISTENING
TCP hostname:10110 hostname:0 LISTENING
TCP hostname:netbios-ssn hostname:0 LISTENING
. . . with “hostname” replaced by the system’s hostname, of course.
No comments:
Post a Comment