February 27, 2001

Tip of the Week: Ports and processes

Author: JT Smith

From LinuxLookup: "Recently on a company-internal newsgroup, someone asked the question "How do I tell what process is using a specific port?" Just before I fired off a reply, I reread the question. Ahh, the originator was using Solaris. Bummer for him.
The final solution for him involved using netstat and lsof and matching up their output to find the program. (That was the last message I saw anyway, there may have been a better solution.) The Linux solution is much simpler and straightforward."

Category:

  • Linux
Click Here!