Find process using a port
you can execute the following cmd to find the process which occupies a specific port in linux.
sudo lsof -i :<port_number> -t | xargs ps -o pid,user,cmd -pShare this article
you can execute the following cmd to find the process which occupies a specific port in linux.
sudo lsof -i :<port_number> -t | xargs ps -o pid,user,cmd -pShare this article