• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

See open ports in Mac?

 
Edson Cezar
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a way to see at the prompt, open ports on mac, and block it, if possible ?

Thanks in advance !
 
Greg Charles
Sheriff
Posts: 2993
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lsof | grep LISTEN

I just tried that though and it didn't seem to show me everything. As for blocking ports, that would be the job of firewall. I don't think that functionality is build into OSX, but I'm sure there are software firewalls available that you could install.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11945
212
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to look at Apple's OS X: About the application firewall page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic