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 -p
Share this article on: