Tag : port

Cara melihat port yang terbuka di mac

In Mac OS X, I do use

{code}netstat -a -p tcp{/code}

Though the ideal one to list all open ports in Mac OS X being opened is

{code}lsof -i -P | grep -i “listen”{/code}

or

{code}netstat -a -p tcp|grep -i “listen”{/code}