Closing Ports

Robert Dege rdege at cse.Buffalo.EDU
Tue Aug 13 09:09:46 EDT 2002


You need to kill the process that is still binding to the port.  Tomcat
might still be running in the background (or a dead process is resident).

Doing a `ps -auxwww | grep $1` (where $1 is the tomcat executable) will
help track down the process.

-Rob




> Hi.
>
> Does anyone know of a command to close an open port?
>
> I've been playing with Tomcat.  When I start Tomcat, it opens the port
> it's configured for and then crashes without closing the port.  Tomcat
> complains that the port is already open the next time I try to start it.
>
> Thanks for the help.
>
> --
> Robert M. Romito
> robromito at adelphia.net
> home: (716) 838-9113
> cell: (716) 465-5546
>
>
>



Dege

So Many Things in Life Would Be Really Funny
.... If They Weren't Happening To Me




More information about the nflug mailing list