Answers for "close port in use linux"

5

kill port linux

kill -9 $(lsof -t -i:8080)
Posted by: Guest on December-29-2020
1

kill port 80 linux

sudo lsof -i tcp:80
#or
sudo lsof -t -i tcp:80 | sudo xargs kill
Posted by: Guest on September-21-2021
1

how to close port in linux

sudo ufw deny PORT
Posted by: Guest on August-11-2020
1

how to close port in linux

sudo ufw allow PORT
Posted by: Guest on August-11-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language