I have several applications that run on random ports. How would I take the pid or the file location and find which port it runsis running on?
ex. www-data/apache = 80
my-awesome-game = 2023Example of desired output:
etc.
www-data/apache = 80
my-awesome-game = 2023