How to manually close a tcp/udp port in XP?

Discussion in 'Operating Systems' started by FreshPrince, Mar 14, 2004.

  1. FreshPrince

    FreshPrince Diamond Member

    Joined:
    Dec 6, 2001
    Messages:
    8,363
    Likes Received:
    0
    Does anyone how how to close a port manually in XP?

    there's got to be a command line command that does this.

    thx!

    -FP
     
  2. Loading...

    Similar Threads - manually close port Forum Date
    Settings flyout closes too fast Operating Systems Feb 22, 2017
    Moving "Program Files:" Seeking a utility to avoid a "manual strategy" Operating Systems Feb 14, 2017
    Are manual controls for Windows Updates being phased out? Operating Systems Aug 27, 2014
    Windows 8: automatic and manual Chkdsk Operating Systems Apr 25, 2013
    Possible to manually re-arrange files in folders? Operating Systems Mar 1, 2013

  3. Nothinman

    Nothinman Elite Member

    Joined:
    Sep 14, 2001
    Messages:
    30,672
    Likes Received:
    0
    You can't, you might be able to find something to inject a RST packet into a TCP stream which will make the remote end think your end closed the port but that will most likely really confuse the local end. Ideally you just need to find out what app has the port open and kill that.

    And UDP is connectionless so there's no equivalent to an RST packet.
     
  4. PrincessGuard

    PrincessGuard Golden Member

    Joined:
    Feb 5, 2001
    Messages:
    1,435
    Likes Received:
    0
  5. rbrandon

    rbrandon Banned

    Joined:
    Oct 10, 2002
    Messages:
    423
    Likes Received:
    0
  6. spyordie007

    spyordie007 Diamond Member

    Joined:
    May 28, 2001
    Messages:
    6,229
    Likes Received:
    0
    run the built-in firewall

    If there is an application that is opening a port the best way to close the port is by means of that application, if it doesnt give you the option (which most dont) your best route is simply going to be to remove access to that port (firewalling it off).