How to know which application is using which port on Mac
Posted in howto on August 4th, 2010 by Aditya – Be the first to commentMac: lsof -i -P | grep -i “listen”
Note down the pid in order to kill it through activity monitor.
Mac: lsof -i -P | grep -i “listen”
Note down the pid in order to kill it through activity monitor.
The problem: I run WAMP (or XAMMP) but for some reason the apache component could not run (the icon showed some yellowish bar or red bar appear on WAMP icon on the task bar.
Quick checks reveals that port 80, which happens to be used by Apache was blocked by other application.
Some steps that can be done to solve this problem, any one of these steps should work. If not, just choose other options.
Any other suggestion?