Unbind a port

Jorge Fábregas fabregasj at prtc.net
Wed Apr 6 16:59:24 UTC 2005


On Wednesday 06 April 2005 12:44 pm, Richard Crawford wrote:
> I did a port forwarding to port 9990 on my Linux computer to mount a remote
> SMB share.  After I unmounted the share, I wanted to use port 9990 for
> another purpose, but was told that it was still busy.  How can I get my
> computer to let go of this port so I can use it again?

Try killing (SIGTERM) the ssh process id (the one that initiated the 
forwarding session).

kill -15 ssh-process-id

HTH,
Jorge




More information about the fedora-list mailing list