how to close application on port in linux code example
Example 1: kill port linux
kill -9 $(lsof -t -i:8080)
Example 2: kill all process at port
lsof -ti tcp:2525 | xargs kill
kill -9 $(lsof -t -i:8080)
lsof -ti tcp:2525 | xargs kill