tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf Jahn <olaf.j...@infopark.de>
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 <paul@mama.stg.brown.edu> 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.

Olaf


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message