How do you find out what port is being used by what application ?
When I do a netstat -an | grep -i listen I get a list of open ports but I'm unable to figure out what port is being used by what application. I'm not referring to the "well known ports
Try using lsof. lsof -i | grep -i listen should get what you're looking for. You may also grep for a pid or port number too if you're looking for something specific.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.