SUMMARY - Release TCP/IP PORT

From: <reinaldo.ono_at_copel.com>
Date: Fri Dec 13 2002 - 09:54:55 EST
Thanks for all answers I received.

Josh Turgasen told me :

"The easiest way to release a port is to kill the process that's using the
port.  The quickest way to see which processes are listening is to download

the "lsof" command (the SunManager's FAQ tells you where you can download
it
from).

Run "lsof | grep <port-number>" and it will show the name of the process
that is using that port.  Generally killing the process will fix the
problem.  I have seen instances a few instances where killing the process
will not free up the port, however that was a few years ago and I forgot an

easy way to fix it without rebooting.

One idea is if the program is making an outbound connection sending a
packet
to that port with a program such as "nmap" may generate a RST and close the

connect (and port)."

But I don4t know how to release a port if the process using the port has
already been killed.
Another answers told me the same thing.

Thanks for everybody answers.

Reinaldo Lums Ono
COPEL DISTRIBUIGCO
Fone : (5541) 331-4369        Fax : (5541) 331-2299
Rua Josi Izidoro Biazetto, 158 - Bloco B - Mossunguj
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Dec 13 08:58:35 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:00 EST