SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use:
sudo lsof -i -n -P | grep TCP
This works in Mavericks.