Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a program, NC_net that allows Nagios to monitor Windows machines for various metrics and it seems to have caused a sporadic issue where when the service stops, the TCP port remains open. The service has been stopped for over two hours and the port will not be released.

Any ideas on how to get this port to close without rebooting? TCPview will allow you to click on the port and close it, but it does not work in this instance.

There is no local firewall that is running on this machine.


<non-existent> 1552 TCP  EXPUBDR01-XXX 17   EXPUBDR01-XXX  0        LISTENING   


c:\> netstat -ano|findstr 17
  TCP                 LISTENING       1552
  TCP    CLOSE_WAIT      1552
  TCP    CLOSE_WAIT      1552
  TCP    CLOSE_WAIT      1552
  TCP    ESTABLISHED     1552
  TCP    CLOSE_WAIT      1552
  TCP    CLOSE_WAIT      1552
  TCP    CLOSE_WAIT      1552


c:\> tasklist /fi "PID eq 1552"
INFO: No tasks are running which match the specified criteria.
share|improve this question
is this process running under svchosts.exe – tony roth Sep 29 '11 at 20:59
no sir. according to process explorer, tasklist, task manager etc it is not running at all. – phiz Sep 29 '11 at 22:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.