jhlee8804
11/29/2017 - 9:08 AM

Find process using :$PORT on OS

$ lsof -n -i4TCP:$PORT | grep LISTEN
$ lsof -n -iTCP:$PORT | grep LISTEN
$ lsof -n -i:$PORT | grep LISTEN