Asked • 04/04/19

How to kill a process running on particular port in Linux?

I tried to close the tomcat using `./shutdown.sh` from tomcat `/bin` directory. But found that the server was not closed properly. And thus I was unable to restartMy tomcat is running on port `8080`. I want to kill the tomcat process running on `8080`. I first want to have the list of processes running on a specific port (8080) in order to select which process to kill.

1 Expert Answer

By:

David F. answered • 10/12/22

Tutor
5 (28)

Experienced Python, SQL, and Data Engineering Tutor

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.