Answers for "how to find mac address of external port"

12

list used ports on mac

sudo lsof -PiTCP -sTCP:LISTEN

COMMAND     PID      USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
GitHub      850 grgarside   6u   IPv4 0x23c345381d089301      0t0  TCP localhost:25035 (LISTEN)
Posted by: Guest on December-12-2019
-1

mac find who is using port 8080

$ lsof -i :8080 | grep LISTEN
or
$ ps -ef 42975
Posted by: Guest on May-23-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language