cara memeriksa apakah port terbuka mac

lsof -i :PORT_NUMBER
Badie96