Find process using a port
Jul 6, 2023·1 min read
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 -pRelated posts
Share this article
Jul 6, 2023·1 min read
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 -pRelated posts
Share this article