Determining Port Usage
Want to know how to figure out what’s running on a given port on your machine? The following example will show you what’s running on port 80 on your Linux machine:
lsof -i -n -P | grep :80
Want to know how to figure out what’s running on a given port on your machine? The following example will show you what’s running on port 80 on your Linux machine:
lsof -i -n -P | grep :80