Built with Grav - The Modern Flat File CMS
Use the following command:
lsof -i4 -a -p [process_id]
If you want to see the numerical value of ports run the following command:
lsof -i4 -P -a -p [process_id]