The windows command prompt utility netstat allows you to scan your computer to learn whether it has any programs or services listening for incoming connections over the internet. in most cases, legitimate programs such as anti-virus update services cause your computer to listen for incoming connections.. Netstat.exe, located in the windows ‘system32’ folder, allows you to view ports that are open or in use on a particular host, but should not be confused with a network port scanner which actually probes a host for open ports.. The lpq command is not available by default in windows 7 but can be enabled by turning on the lpd print service and lpr port monitor features from programs and features in control panel. lpr the lpr command is used to send a file to a computer running line printer daemon (lpd)..
System or network admins seeking to foil such scans, or to check port status on exposed machines, can get quick, accurate help from the windows command line utility named netstat (for great detail on this utility, see the windows netstat reference page online).. Command line for looking at specific port. ask question. up vote 189 down vote favorite. 63. is there a way to examine the status of a specific port from the windows command line? i know i can use netstat to examine all ports but netstat is slow and looking at a specific port probably isn't.. Portqry.exe is a command-line utility that you can use to help troubleshoot tcp/ip connectivity issues. portqry.exe runs on windows 2000-based computers, on windows xp-based computers, and on windows server 2003-based computers..