Answers for "how to close a port from terminal"

4

how to close a port mac

sudo lsof -i :5955
Posted by: Guest on June-27-2020
-1

how to close a port

lsof -n -i4TCP:8080  <-- get process id of what you want to close
sudo kill -9 processID  <-- close desired process
Posted by: Guest on April-21-2022
0

kill a server port in terminal

/*
if you have ran a code that uses a server or server port you can easily
kill the server port, and the just created server i think, simply typing: 

(ctrl + c) or (cmd + c) for MAC
*/
Posted by: Guest on March-02-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language