https://lifewireesc.pages.dev/posts/how-to-use-the-netstat-command-on-mac/
How To Use The Netstat Command On Mac