Tagged Questions
3
votes
2answers
120 views
How to detect out-bound port from PID
I have several applications that run on random ports. How would I take the pid or the file location and find which port it is running on?
Example of desired output:
www-data/apache = 80
...