add function to find which pid uses a specific port passed as parameters