how to find process or service with the help of port in linux

 In Linux there is command called lsof using this command. user can find which process is associated with any port. and this command always help to resolve  port-conflict issue in server

Example:  let suppose tomcat one instance is running with 8080 port and there is more instance created later but user forgot to change the default port. then newly create tomcat instance will try to start in same port 8080.

in such case user can identified which process is using that port.

Example:-

lsof -i:8080



Comments

Popular posts from this blog

ERROR: Port values must be a positive integer between 0 and 65535. while install IBM Http Server 8.5.5

How to remove the node from the deployment manager profile

What is clean start in websphere application server