Horje
kill process running on port 80 Code Example
kill process on port
#To list any process listening to the port 8080:
lsof -i:8080

#To kill any process listening to the port 8080:
kill $(lsof -t -i:8080)

#or more violently:
kill -9 $(lsof -t -i:8080)
kill port
sudo kill -9 `sudo lsof -t -i:9001`
kill process running on port 80
# shows information on Processes running on port 80 with PIDs
$: sudo lsof -i tcp:80

$: sudo lsof -t -i tcp:80 | sudo xargs kill




Shell

Related
enable ssh on ubuntu 20.04 Code Example enable ssh on ubuntu 20.04 Code Example
linux find and rename files with text Code Example linux find and rename files with text Code Example
postgresql user permissions to database Code Example postgresql user permissions to database Code Example
linux distributions command line Code Example linux distributions command line Code Example
linux print system info Code Example linux print system info Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10