TechSpot

How do I Make [Close Wait] ports close immediately?

By Deviouz
Aug 5, 2008
  1. I have my TCP-VIEW App open from Sysinternals, and im seeing a lot of hanging [Close Wait] ports that just stay at [Close Wait].. and never clear up..

    Is there anyway to make these [Close Wait] ports close-clear up immediately after they have been used.. so they don't hang saying [Close Wait] ..??

    OS:
    XP PRO SP2
     
  2. Deviouz

    Deviouz TS Rookie Topic Starter Posts: 122

    anybody have any ideas..??
     
  3. No netstat -b from the terminal to see which processes are using those ports.
     
  4. AlbertLionheart

    AlbertLionheart TechSpot Chancellor Posts: 2,714

    Intrigued - as far as I know this is normal. It does not use any system resources and is not a security threat so long as you have a working firewall. Why worry?
     
  5. Darth_Terra1

    Darth_Terra1 TS Rookie Posts: 234

    There is nothing wrong with a closed - wait port, it's still closed but waiting for a port call and will open when it needs to, just ensure your firewall is working so there isn't a security threat.
     
  6. Deviouz

    Deviouz TS Rookie Topic Starter Posts: 122

    ok, but is there still a way to make the ports clear up - close immediately after they have been used. like changing a registry entry or something..??
     
  7. Rick

    Rick TechSpot Staff Posts: 6,305   +52 Staff Member

  8. jobeard

    jobeard TS Ambassador Posts: 13,474   +329

    Close-Wait ports are (in some systems) cleared only when the Idle process gets invoked.
    On heavily used systems where Idle is seldomly achieved, these ports hang around for quiet a long time.

    Q? what processes are keeping the processor running?
     
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.