Find Ports Used By Applications On Mac OS X (i.e. Netstat For Os X)
Join the DZone community and get the full member experience.
Join For Freenetstat
on os x doesn't do what you hope it does - show port numbers for applications.
Here's a snippet for your .bash_profile:
# replacement netstat cmd to find ports used by apps on OS X
alias netstat_osx="sudo lsof -i -P"
(thx Lachie Cox)
Mac OS X
Opinions expressed by DZone contributors are their own.
Trending
-
Comparing Cloud Hosting vs. Self Hosting
-
Introduction To Git
-
WireMock: The Ridiculously Easy Way (For Spring Microservices)
-
Integration Architecture Guiding Principles, A Reference
Comments