How do you check the listening ports on a windows box?
Command line.
Answers were Sorted based on User's Feedback
Answer / raj kumar.g
netstat –a : displays ip , listening port ids
netstat /? : help
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / systems & network administator
I hope that headline doesn't scare you. A lot of people shun
the Windows command line in favor of more complicated
graphical user interfaces. But when it comes to
investigating malware infections, various command-line tools
can be incredibly helpful, since GUI-based tools can't
always do the job.
First off, invoke a command prompt. Go to Start --> Run and
type in 'cmd.exe.' Putting '.exe' at the end of the entry is
important; it is a far safer way of bringing up a command
prompt. To trick users, a malicious program might purposely
be called 'cmd.com,' and in such a case, the malware would
run if just 'cmd' were typed. Thus, go ahead and type
'cmd.exe' instead.
'netstat'
Next, with a command prompt going, run the netstat command
and take a gander at the listening ports on your systems. A
lot of people know that 'netstat –na' can provide a list of
TCP and UDP ports on the machine. Adding an 'o' to the
command arguments can reveal the process ID of each process
using a port. And, starting with XP SP2, an added 'b' flag
will show the EXE name using each port, along with the
dynamic link libraries (DLLs) that it has loaded to
communicate with the network. Beware of the 'b,' however.
The function can chew up some serious CPU time, tying up
between 60% and 100% of your processor for up to a minute.
But, wait, there is more. Suppose you want to look at port
usage and see how it changes over time. Adding a space and
then an integer to that netstat command, as in "netstat –nao
1", will run the command with a frequency equivalent to the
integer, in this case, for every one second. The display
will be dumped on the screen continuously, as shown below.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / syed mahboob feroz ahmed
Hi,
"Netstat -a" is the command to check listening ports on a
windows box command line.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / syed mahboob feroz ahmed
Hi,
Netstat -a is the command for checking listening ports in
windows box.
| Is This Answer Correct ? | 0 Yes | 1 No |
Which layer deals with i) file system transfer ii) ii) virtual terminals emulation iii) interprocess communication. a. Application b. Presentation c. Session d. Transport
You have a class C subnet. You would like to divide it up into 10 more Subnets by "subnetting" . How many hosts can you have per subnet?
Host ----router ----server Class B network. host's IP : ...82.2 , Mask: 255.255.240.0 router's left IP-address is ...64.1 router's right IP-address is ...32.1. Why can the host not access the server ?
Which command would delete a route to host server1 via router1 ?
D/W Subnetting and Subnet mask,how you will judge that sm belongs to that particular class
What do you use to monitor TCP/IP stats since the last reboot?
when a computer is restart,it will not show startup screen and instead a Beep sound is continuosly appearing,what could be the reason and there are important files and folders present in the system.what should be needed to do to bring the system to its normal state?
what is Organiser? what is work
How to configure SMTP connector in exchange server 2003 for external outgoing mail?
What is the name of the routing daemon in Solaris ?
Host A has two routes to host B. First route has 2 hops, but the bandwidth is 56K. The second route has 3 hops, but the bandwidth is 100Mbps. If you use RIP, which route will be taken ?
Can you please explain the difference between csma/cd and csma/ca?