1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Port scanning

Discussion in 'Networking (Hardware & Software)' started by Heliux2601, 2004/03/08.

Thread Status:
Not open for further replies.
  1. 2004/03/08
    Heliux2601

    Heliux2601 Inactive Thread Starter

    Joined:
    2003/11/25
    Messages:
    27
    Likes Received:
    0
    Hello again,

    What is the command used (presumably in the ms dos prompt) to find out which application uses which ports.

    Cheers,

    Heliux :cool:
     
  2. 2004/03/08
    Angel71

    Angel71 Inactive

    Joined:
    2003/09/01
    Messages:
    83
    Likes Received:
    0
    In XP, you can use "netstat -ano" to identify the PID and then look that up using the "tasklist" command.

    Other options include:

    fport

    PortQry -local -v -l mylog.txt
    (doesn't give PIDs in Win2k)
     
    Last edited: 2004/03/08

  3. to hide this advert.

  4. 2004/03/08
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    netstat -a will show you all active connections.

    netstat followed by any non-command will show all the commands available: netstat -abcdefg

    A good utility, much more robust than netstat, is TCPVIEW, available form www.sysinternals.com. It will show all connections, processes using them, resolve the address and show the port, and you can kill the processes & connections as well.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.