find out ports

Discussion in 'QnA (read only)' started by babuli_05, Feb 14, 2006.

Thread Status:
Not open for further replies.
  1. babuli_05

    babuli_05 New Member

    Joined:
    Nov 22, 2005
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    0
    hi,
    how to know which application use which port.how to stop these appls.to use the ports.how much ports available in pc.
     
  2. mediator

    mediator New Member

    Joined:
    Mar 18, 2005
    Messages:
    2,491
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    In ur Evil Mind!
    number of ports available is 65536 (0 to 65535). To know to usage of simply use zonealarm! To know all open ports,listening ports use netstat!
     
  3. alib_i

    alib_i New Member

    Joined:
    Jun 24, 2004
    Messages:
    1,191
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    omnipresent
    To know the ports being used ..
    Type "netstat -a -n -o" in command prompt.
    This will give you complete list of listening ports and established connections with IP and Process IDs
    Then you can use "tasklist" command to know which process ID belongs to which process.


    Alternatively you can use a very useful GUI for the same : TCPView

    Also ..
    There is no way you can stop an application from using a particular port. A few applications do offer you options to change port numbers being used .. but not all.
    What you can do is that you can block ports ... ie stop any application from using a particular port (or range of ports) to connect to internet/network. In simple words .. use a Firewall.
    Zone Alarm is the best in my view .. there are others too.

    -----
    alibi
     
  4. OP
    OP
    babuli_05

    babuli_05 New Member

    Joined:
    Nov 22, 2005
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    0
    thanks

    thanks to all .......
     
Thread Status:
Not open for further replies.

Share This Page