Horje
kill port 80 linux 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 port
kill -9 $(sudo lsof -t -i:8080)
kill port 80 linux
sudo lsof -i tcp:80
#or
sudo lsof -t -i tcp:80 | sudo xargs kill
kill port
# Print PID of process bound on that port.
fuser 8080/tcp

# Kill that process
fuser -k 8080/tcp
kill port
// Option 1: if you have npm@5.2.0^ version
npx kill-port 8080

// Linux
kill -9 $(lsof -t -i tcp:8080)

// Windows command line:
for /f "tokens=5" %a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %a

// Windows bat-file:
for /f "tokens=5" %%a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %%a




Shell

Related
how to install .deb file on termux Code Example how to install .deb file on termux Code Example
bash install apache Code Example bash install apache Code Example
The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file Code Example The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file Code Example
install @angular/router Code Example install @angular/router Code Example
how to install .deb file ubuntu Code Example how to install .deb file ubuntu Code Example

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