Mac OS - To Know if some PORT is in use and to kill
On terminal : sudo lsof -i :5432
let say for this O/p
let say for this O/p
let say for this O/p
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
com.docke 672 yashaswi 295u IPv6 0xc98a18fb1b3e1383 0t0 TCP *:postgresql (LISTEN)
and to Kill : sudo pkill -u postgres
Comments
Post a Comment