How do you check the listening ports on a windows box?
Command line.

Answers were Sorted based on User's Feedback



How do you check the listening ports on a windows box? Command line...

Answer / raj kumar.g

netstat –a : displays ip , listening port ids

netstat /? : help

Is This Answer Correct ?    18 Yes 0 No

How do you check the listening ports on a windows box? Command line...

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

How do you check the listening ports on a windows box? Command line...

Answer / arun

Command is.......

Netstat

Is This Answer Correct ?    6 Yes 1 No

How do you check the listening ports on a windows box? Command line...

Answer / rajesh

netstat -a -n

to see complete host ips also

Is This Answer Correct ?    1 Yes 0 No

How do you check the listening ports on a windows box? Command line...

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

How do you check the listening ports on a windows box? Command line...

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

Post New Answer

More Networking Administration Interview Questions

Which 2 kinds of DNS servers can never be authoritative over any domain ?

1 Answers  


Which layer of the OSI model defines how cable is attached to a network adapter card?

1 Answers  


one server is down it doen't display anything what you do?

0 Answers  


True or False: RJ-45 connectors house less connections then RJ-11 because they are larger in size and use bigger cables.

1 Answers  


What does the share command do without any arguments ?

1 Answers  






Which freeware tool uses ICMP to send packets with small TTL to determine route ?

1 Answers  


In a peer-to-peer network, each computer can act as both a server and a _____ .

1 Answers  


True or False: Twisted pair cabling comes in various versions and can support up to 96 ports and transmission speeds of 100 Mbps.

1 Answers  


How many wires does an RJ-45 cable have ?

1 Answers  


what is the meaning of routing protocal and routed protocal?

5 Answers   Microsoft, NIIT, TCS,


Which freeware program will let you have fine-grain control over which machines can or can not telnet/rlogin into your machine ?

1 Answers  


how do u share printer through FTP(fire transfer protocol)?

0 Answers   Canara Bank,


Categories
  • Networking Protocols Interview Questions Networking Protocols (671)
  • Networking Administration Interview Questions Networking Administration (1008)
  • Networking Security Interview Questions Networking Security (196)
  • Networking General Interview Questions Networking General (266)
  • Networking AllOther Interview Questions Networking AllOther (430)