Dos command to close and open port

1)Type  netstat -a -o -n in command prompt.

Netstat command in DOS
Netstat command in DOS

2) find the PID number for that port number (as shown in above image).
3) goto task manager and end process the corresponding PID number.

Close Open Port from Task manager in Windows xp
Close Open Port from Task manager in Windows xp

If  PID is not visible in task manager then goto View->Select Column and select PID column.

Posted

in

by

Tags:


Related Posts

Comments

3 responses to “Dos command to close and open port”

  1. abhinav Avatar
    abhinav

    thanks a lot

  2. Mtelab Avatar
    Mtelab

    How is this a DOS command ..

  3. Smart Pants Avatar
    Smart Pants

    Very Nice

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Jitendra Zaa

Subscribe now to keep reading and get access to the full archive.

Continue Reading