Lsof is an extremely powerful unix diagnostic tool. Its name stands for LiSt Open Files, and it does just that. It lists information about any files that are open by processes currently running on the system. It easily pinpoints which process is using each network connection / open port.
57df5e8ccc729dafda5c118f31e4b586da09dfbb073877d31f195da1e13bc0a1