[ale] force close a connection?

Randy Ramsdell rramsdell at activedg.com
Tue Mar 15 12:14:14 EDT 2011


Tim Watts wrote:
> I have a remote desktop connection that's stuck open after the wireless
> AP on my router hung. How can I kill the connection on the remote host
> other than by being patient?
> 
> Here's the relevant netstat output at the remote in case I'm not being
> totally clear:
> 
> $ netstat -atn
> Proto Recv-Q Send-Q Local Address           Foreign Address
> State
> 	<snip>
> tcp6       0      0 192.168.2.50:5900       192.168.2.51:43048
> ESTABLISHED
> tcp6       0  11543 192.168.2.50:5900       192.168.2.51:48928
> ESTABLISHED
> 
> I want to kill the 2nd connection.
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
lsof search that port && kill pid


More information about the Ale mailing list