1821981 Members
3151 Online
109638 Solutions
New Discussion

clearing TCP connection

 
SOLVED
Go to solution
LEJARRE Patrick
Advisor

clearing TCP connection

How to clear a TCP connection without reboot.
Context: License server isn't running anymore but the TCP port associated is still used ( LISTEN )
HP-UX 10.20 and 11.00
1 REPLY 1
Steven Sim Kok Leong
Honored Contributor
Solution

Re: clearing TCP connection

Hi,

First, use lsof to check for any processes still binding to the port. Terminate the process identified.

If there are no process binding to that LISTEN port, then use ndd (only applicable to HP-UX 11.00) to force close the connection (though not recommended) via tcp_discon and/or tcp_discon_by_addr. Details at:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbe06a22d6d27d5118fef0090279cd0f9,00.html

Hope this helps. Regards.

Steven Sim Kok Leong