공부
[Linux] kill a proccess by using port
승가비
2020. 4. 9. 23:43
728x90
lsof -ti:80 | xargs kill -9
lsof -ti:80
1234
ps -ef | grep 1234
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 ...
stackoverflow.com
728x90