tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf Jahn <>
Subject Re: I'm getting no responses to my requests for help on this list
Date Thu, 16 May 2002 15:57:46 GMT
Paul Caton <> hat geschrieben:

> Gary,
> You can see a list of assigned ports in /etc/services. If you want to
> check that a port not listed there is in use or not, use the command:
> netstat -an | grep [number]
> If you get no result, the port is not in use.

Better yet: If on Linux or Solaris: Become root and do

  lsof -i tcp:808

This gives you the process id of the process using the port.
You can then use ps to find out more about it or kill it right away.
If you are not root you will only be told about processes you own.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message