Answers for "macos check if port is used"

-1

netstat listening port 8080 mac

lsof -nP -iTCP:$PORT | grep LISTEN
Posted by: Guest on May-23-2020
3

running ports in mac

sudo lsof -PiTCP -sTCP:LISTEN
Posted by: Guest on October-22-2020

Browse Popular Code Answers by Language