Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kill port from terminal on mac

sudo lsof -i :5955
ex returns: 
COMMAND  PID         USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
node    6957     someuser   28u  IPv6 0x85e555655e4ea0c3      0t0  TCP *:8091 (LISTEN)

sudo kill -9 6957
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #kill #port #terminal #mac
ADD COMMENT
Topic
Name
6+3 =